|
| | DashboardWebApp (PIpcChannel *channel) |
| |
| | ~DashboardWebApp () |
| |
| virtual bool | isDashboardApp () const |
| |
| virtual void | attach (SysMgrWebBridge *page) |
| |
| | WindowedWebApp (int width, int height, WindowType::Type type, PIpcChannel *channel=0) |
| |
| virtual | ~WindowedWebApp () |
| |
| 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 | 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 | closeWindowRequest () |
| |
| enum | PendingFocus { PendingFocusNone = 0,
PendingFocusTrue,
PendingFocusFalse
} |
| |
| void | slotInvalidateRect (const QRect &) |
| |
| void | slotResizeContent (const QSize &) |
| |
| void | slotGeometryChanged (const QRect &) |
| |
| void | PrvCbPaintTimeout () |
| |
| 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 |
| |
| RemoteWindowData * | m_data |
| |
| PIpcBuffer * | m_metaDataBuffer |
| |
| WindowMetaData * | m_metaData |
| |
| WindowType::Type | m_winType |
| |
| int | m_width |
| |
| int | m_height |
| |
| bool | m_beingDeleted |
| |
| bool | m_stagePreparing |
| |
| bool | m_stageReady |
| |
| bool | m_addedToWindowMgr |
| |
| uint32_t | m_windowWidth |
| |
| uint32_t | m_windowHeight |
| |
| QRect | m_paintRect |
| |
| int | m_blockCount |
| |
| bool | m_blockPenEvents |
| |
| uint32_t | m_lastGestureEndTime |
| |
| bool | m_showPageStats |
| |
| bool | m_focused |
| |
| PendingFocus | m_pendingFocus |
| |
| Timer< WindowedWebApp > | m_showWindowTimer |
| |
| bool | m_generateMouseClick |
| |
| WindowProperties | m_winProps |
| |
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 WindowedWebApp.