Commit 7bea0541 authored by jeffm@apple.com's avatar jeffm@apple.com

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.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c46976c3
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 @@ public:
private:
ChunkedUpdateDrawingAreaProxy(PlatformWebView*, WebPageProxy*);
WebPageProxy* page();
WebPageProxy* page() const;
// DrawingAreaProxy
virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
......
......@@ -70,7 +70,7 @@ public:
};
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 @@ public:
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 @@ using namespace WebCore;
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();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment