Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.h

Issue 2485693003: Drag-and-drop: DragEnter, DragOver, DragLeave, DragDrop (Closed)
Patch Set: Rebased. More fixes. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.h
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
index 1e132cbf5dedbecf7e55bdc457c20c4f04fe0c48..5b50a3719f21f598c5048594c08ee173ce84aaf3 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
@@ -118,7 +118,7 @@ class WebFrameWidgetImpl final
void applyReplacementRange(const WebRange&) override;
// WebFrameWidget implementation.
- WebLocalFrameImpl* localRoot() override { return m_localRoot; }
+ WebLocalFrameImpl* localRoot() const override { return m_localRoot; }
void setVisibilityState(WebPageVisibilityState) override;
bool isTransparent() const override;
void setIsTransparent(bool) override;
@@ -151,10 +151,6 @@ class WebFrameWidgetImpl final
void setIgnoreInputEvents(bool newValue);
- // Returns the page object associated with this widget. This may be null when
- // the page is shutting down, but will be valid at all other times.
- Page* page() const { return view()->page(); }
-
// Event related methods:
void mouseContextMenu(const WebMouseEvent&);
@@ -190,7 +186,6 @@ class WebFrameWidgetImpl final
WebInputEventResult handleKeyEvent(const WebKeyboardEvent&) override;
WebInputEventResult handleCharEvent(const WebKeyboardEvent&) override;
- WebViewImpl* view() const { return m_localRoot->viewImpl(); }
InspectorOverlay* inspectorOverlay();
// This method returns the focused frame belonging to this WebWidget, that
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetBase.cpp ('k') | third_party/WebKit/Source/web/WebViewFrameWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698