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

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

Issue 2485693003: Drag-and-drop: DragEnter, DragOver, DragLeave, DragDrop (Closed)
Patch Set: No longer using GetSiteInstance() in RenderWidgetHostImpl. 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 74bcb842c5954f111577e323bc750e27eeb9c2ab..28a4ff19f6dd365a3a8ce8cc2b96438b1c9a2b2f 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
@@ -123,7 +123,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;
@@ -154,10 +154,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&);
@@ -193,7 +189,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

Powered by Google App Engine
This is Rietveld 408576698