Skip to content
Permalink
Browse files
2011-05-13 Jeff Miller <jeffm@apple.com>
        Reviewed by Darin Adler.

        Make some page() member functions const
        https://bugs.webkit.org/show_bug.cgi?id=60794

        * UIProcess/ChunkedUpdateDrawingAreaProxy.h: Make page() const.
        * UIProcess/WebFrameProxy.h:
        (WebKit::WebFrameProxy::page): Make page() const.
        * UIProcess/WebInspectorProxy.h:
        (WebKit::WebInspectorProxy::page): Make page() const.
        * UIProcess/gtk/ChunkedUpdateDrawingAreaProxyGtk.cpp:
        (WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.
        * UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm:
        (WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.
        * UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp:
        (WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.
        * UIProcess/win/ChunkedUpdateDrawingAreaProxyWin.cpp:
        (WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.


Canonical link: https://commits.webkit.org/76114@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
jeffmapple committed May 13, 2011
1 parent c841aff commit be35e2cf937e2917909613e226e897d1ba39b553
Showing 8 changed files with 28 additions and 7 deletions.
@@ -1,3 +1,24 @@
2011-05-13 Jeff Miller <jeffm@apple.com>

Reviewed by Darin Adler.

Make some page() member functions const
https://bugs.webkit.org/show_bug.cgi?id=60794

* UIProcess/ChunkedUpdateDrawingAreaProxy.h: Make page() const.
* UIProcess/WebFrameProxy.h:
(WebKit::WebFrameProxy::page): Make page() const.
* UIProcess/WebInspectorProxy.h:
(WebKit::WebInspectorProxy::page): Make page() const.
* UIProcess/gtk/ChunkedUpdateDrawingAreaProxyGtk.cpp:
(WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.
* UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm:
(WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.
* UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp:
(WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.
* UIProcess/win/ChunkedUpdateDrawingAreaProxyWin.cpp:
(WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.

2011-05-13 Adam Roben <aroben@apple.com>

Load plugins in the order they're found
@@ -69,7 +69,7 @@ class ChunkedUpdateDrawingAreaProxy : public DrawingAreaProxy {
private:
ChunkedUpdateDrawingAreaProxy(PlatformWebView*, WebPageProxy*);

WebPageProxy* page();
WebPageProxy* page() const;

// DrawingAreaProxy
virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
@@ -70,7 +70,7 @@ class WebFrameProxy : public APIObject {
};

uint64_t frameID() const { return m_frameID; }
WebPageProxy* page() { return m_page; }
WebPageProxy* page() const { return m_page; }

WebFrameProxy* parentFrame() { return m_parentFrame; }
WebFrameProxy* nextSibling() { return m_nextSibling; }
@@ -74,7 +74,7 @@ class WebInspectorProxy : public APIObject
void invalidate();

// Public APIs
WebPageProxy* page() { return m_page; }
WebPageProxy* page() const { return m_page; }

bool isVisible() const { return m_isVisible; }
void show();
@@ -39,7 +39,7 @@ using namespace WebCore;

namespace WebKit {

WebPageProxy* ChunkedUpdateDrawingAreaProxy::page()
WebPageProxy* ChunkedUpdateDrawingAreaProxy::page() const
{
return webkitWebViewBaseGetPage(m_webView);
}
@@ -37,7 +37,7 @@

namespace WebKit {

WebPageProxy* ChunkedUpdateDrawingAreaProxy::page()
WebPageProxy* ChunkedUpdateDrawingAreaProxy::page() const
{
return toImpl([m_webView pageRef]);
}
@@ -39,7 +39,7 @@ using namespace WebCore;

namespace WebKit {

WebPageProxy* ChunkedUpdateDrawingAreaProxy::page()
WebPageProxy* ChunkedUpdateDrawingAreaProxy::page() const
{
return toImpl(m_webView->page()->pageRef());
}
@@ -35,7 +35,7 @@ using namespace WebCore;

namespace WebKit {

WebPageProxy* ChunkedUpdateDrawingAreaProxy::page()
WebPageProxy* ChunkedUpdateDrawingAreaProxy::page() const
{
return m_webView->page();
}

0 comments on commit be35e2c

Please sign in to comment.