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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 153913004: gesture-nav: Use a WebContentsObserver to more reliably dismiss the navigation overlay. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 months 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index fb27bd5b02e497aefb663be1e714cd0f1e45d837..dbbdd4447cdf3a4ea261cc54c74abe02fc8347be 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -90,29 +90,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
public base::SupportsWeakPtr<RenderWidgetHostViewAura>,
public cc::DelegatedFrameResourceCollectionClient {
public:
- // Used to notify whenever the paint-content of the view changes.
- class PaintObserver {
- public:
- PaintObserver() {}
- virtual ~PaintObserver() {}
-
- // This is called when painting of the page is completed.
- virtual void OnPaintComplete() = 0;
-
- // This is called when compositor painting of the page is completed.
- virtual void OnCompositingComplete() = 0;
-
- // This is called when the contents for compositor painting changes.
- virtual void OnUpdateCompositorContent() = 0;
-
- // This is called loading the page has completed.
- virtual void OnPageLoadComplete() = 0;
-
- // This is called when the view is destroyed, so that the observer can
- // perform any necessary clean-up.
- virtual void OnViewDestroyed() = 0;
- };
-
// Displays and controls touch editing elements such as selection handles.
class TouchEditingClient {
public:
@@ -147,10 +124,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
virtual ~TouchEditingClient() {}
};
- void set_paint_observer(PaintObserver* observer) {
- paint_observer_ = observer;
- }
-
void set_touch_editing_client(TouchEditingClient* client) {
touch_editing_client_ = client;
}
@@ -753,11 +726,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
};
CursorVisibilityState cursor_visibility_state_in_renderer_;
- // An observer to notify that the paint content of the view has changed. The
- // observer is not owned by the view, and must remove itself as an oberver
- // when it is being destroyed.
- PaintObserver* paint_observer_;
-
#if defined(OS_WIN)
// The list of rectangles from constrained windows over this view. Windowed
// NPAPI plugins shouldn't draw over them.
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698