|
| | WindowedWebApp (int width, int height, WindowType::Type type, PIpcChannel *channel=0) |
| |
| virtual | ~WindowedWebApp () |
| |
| virtual void | attach (SysMgrWebBridge *page) |
| |
| virtual void | paint () |
| |
| virtual void | inputEvent (sptr< Event >) |
| |
| virtual void | keyEvent (QKeyEvent *e) |
| |
| virtual void | focusedEvent (bool focused) |
| |
| virtual int | resizeEvent (int newWidth, int newHeight, bool resizeBuffer) |
| |
| virtual void | flipEvent (int newWidth, int newHeight) |
| |
| virtual void | asyncFlipEvent (int newWidth, int newHeight, int newScreenWidth, int newScreenHeight) |
| |
| virtual bool | isWindowed () const |
| |
| virtual bool | isCardApp () const |
| |
| virtual bool | isDashboardApp () const |
| |
| virtual bool | isLeafApp () const |
| |
| virtual WindowType::Type | windowType () const |
| |
| virtual void | setOrientation (Event::Orientation orient) |
| |
| virtual void | invalidate () |
| |
| virtual bool | isFocused () const |
| |
| virtual void | applyLaunchFeedback (int cx, int cy) |
| |
| int | windowWidth () const |
| |
| int | windowHeight () const |
| |
| virtual void | onMessageReceived (const PIpcMessage &msg) |
| |
| virtual void | onDisconnected () |
| |
| virtual int | getKey () const |
| |
| int | routingId () const |
| |
| int | metadataId () const |
| |
| virtual void | onResize (int width, int height, bool resizeBuffer) |
| |
| virtual void | onFlip (int newWidth, int newHeight) |
| |
| virtual void | onAsyncFlip (int newWidth, int newHeight, int newScreenWidth, int newScreenHeight) |
| |
| virtual void | onSyncResize (int width, int height, bool resizeBuffer, int *newKey) |
| |
| virtual void | onAdjustForPositiveSpace (int width, int height) |
| |
| virtual void | onKeyboardShow (bool val) |
| |
| virtual void | onClose (bool disableKeepAlive) |
| |
| virtual void | onInputEvent (const SysMgrEventWrapper &wrapper) |
| |
| virtual void | onKeyEvent (const SysMgrKeyEvent &keyEvent) |
| |
| virtual void | onTouchEvent (const SysMgrTouchEvent &touchEvent) |
| |
| virtual void | onDirectRenderingChanged () |
| |
| virtual void | onClipboardEvent_Cut () |
| |
| virtual void | onClipboardEvent_Copy () |
| |
| virtual void | onClipboardEvent_Paste () |
| |
| virtual void | onSelectAll () |
| |
| virtual void | onSetComposingText (const std::string &text) |
| |
| virtual void | onCommitComposingText () |
| |
| virtual void | onCommitText (const std::string &text) |
| |
| virtual void | onPerformEditorAction (int action) |
| |
| virtual void | onRemoveInputFocus () |
| |
| virtual void | windowSize (int &width, int &height) |
| |
| virtual void | screenSize (int &width, int &height) |
| |
| virtual void | setWindowProperties (WindowProperties &winProp) |
| |
| virtual void | displayOn () |
| |
| virtual void | displayOff () |
| |
| | WebAppBase () |
| |
| virtual | ~WebAppBase () |
| |
| virtual SysMgrWebBridge * | detach () |
| |
| virtual void | thawFromCache () |
| |
| virtual void | freezeInCache () |
| |
| bool | inCache () const |
| |
| void | markInCache (bool inCache) |
| |
| void | setKeepAlive (bool keepAlive) |
| |
| bool | keepAlive () |
| |
| SysMgrWebBridge * | page () const |
| |
| virtual bool | isChildApp () const |
| |
| virtual bool | isAlertApp () const |
| |
| void | relaunch (const char *args, const char *launchingAppId, const char *launchingProcId) |
| |
| QString | appId () const |
| |
| QString | processId () const |
| |
| QString | url () const |
| |
| ApplicationDescription * | getAppDescription () |
| |
| void | setAppDescription (ApplicationDescription *) |
| |
| void | setManualEditorFocusEnabled (bool) |
| |
| virtual void | setManualEditorFocus (bool focused, const PalmIME::EditorState &) |
| |
| virtual void | setExplicitEditorFocus (bool focused, const PalmIME::EditorState &editorState) |
| |
| virtual void | suspendAppRendering () |
| |
| virtual void | resumeAppRendering () |
| |
| virtual void | resizeWebPage (uint32_t width, uint32_t height) |
| |
|
| void | init () |
| |
| virtual void | focus () |
| |
| virtual void | unfocus () |
| |
| virtual void | invalContents (int x, int y, int width, int height) |
| |
| virtual void | scrollContents (int newContentsX, int newContentsY) |
| |
| virtual void | loadFinished () |
| |
| virtual void | stagePreparing () |
| |
| virtual void | stageReady () |
| |
| virtual void | editorFocusChanged (bool focused, const PalmIME::EditorState &state) |
| |
| virtual void | autoCapEnabled (bool enabled) |
| |
| virtual void | needTouchEvents (bool needTouchEvents) |
| |
| virtual void | getWindowPropertiesString (WindowProperties &winProp, std::string &propString) const |
| |
| void | startPaintTimer () |
| |
| void | stopPaintTimer () |
| |
| void | renderPageStatistics (int offsetX=0, int offsetY=0) |
| |
| void | renderMetaHint (int offsetX=0, int offsetY=0) |
| |
| bool | showWindowTimeout () |
| |
| bool | appLoaded () const |
| |
| bool | isTransparent () const |
| |
| virtual void | close () |
| |
| virtual void | resizedContents (int contentsWidth, int contentsHeight) |
| |
| virtual void | zoomedContents (double scaleFactor, int contentsWidth, int contentsHeight, int newScrollOffsetX, int newScrollOffsetY) |
| |
| virtual void | scrolledContents (int newContentsX, int newContentsY) |
| |
| virtual void | uriChanged (const char *url) |
| |
| virtual void | titleChanged (const char *title) |
| |
| virtual void | statusMessage (const char *msg) |
| |
| virtual void | dispatchFailedLoad (const char *domain, int errorCode, const char *failingURL, const char *localizedDescription) |
| |
| void | createActivity () |
| |
| void | destroyActivity () |
| |
| void | focusActivity () |
| |
| void | blurActivity () |
| |
| void | cleanResources () |
| |
| void | setAppId (const QString &appId) |
| |
Attaches to a WebPage instance to allow us to manage it
This method sets up the content to display for this app.
In detail, this method:
- Reports to WebAppManager that this app is launched.
- Creates a new activity.
- Loads and applies app properties from the app description.
It's assumed that this WebPage instance will either already have a URL loaded or it will be loaded by the caller after calling this. In other words, this attaches a WebPage, but does not load anything into it.
- Note
- If still attached when this WebAppBase instance is destroyed, this page will also be deleted from memory. Do not access this page again after attaching it without getting a new pointer to it via WebAppBase::page().
- Parameters
-
| page | WebPage of content for this app. |
Reimplemented from WebAppBase.
Reimplemented in AlertWebApp, and DashboardWebApp.