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

Side by Side Diff: content/public/renderer/render_view_observer.h

Issue 1100763002: Inject CanAddURLToHistory into TopSitesImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs
Patch Set: Fix error introduced during rebase Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const blink::WebVector<blink::WebString>& newly_matching_selectors, 74 const blink::WebVector<blink::WebString>& newly_matching_selectors,
75 const blink::WebVector<blink::WebString>& stopped_matching_selectors) {} 75 const blink::WebVector<blink::WebString>& stopped_matching_selectors) {}
76 virtual void PrintPage(blink::WebLocalFrame* frame, bool user_initiated) {} 76 virtual void PrintPage(blink::WebLocalFrame* frame, bool user_initiated) {}
77 virtual void FocusedNodeChanged(const blink::WebNode& node) {} 77 virtual void FocusedNodeChanged(const blink::WebNode& node) {}
78 virtual void DraggableRegionsChanged(blink::WebFrame* frame) {} 78 virtual void DraggableRegionsChanged(blink::WebFrame* frame) {}
79 virtual void DidCommitCompositorFrame() {} 79 virtual void DidCommitCompositorFrame() {}
80 virtual void DidUpdateLayout() {} 80 virtual void DidUpdateLayout() {}
81 81
82 // These match the RenderView methods. 82 // These match the RenderView methods.
83 virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) {} 83 virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) {}
84 virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) {}
85 virtual void DidHandleGestureEvent(const blink::WebGestureEvent& event) {} 84 virtual void DidHandleGestureEvent(const blink::WebGestureEvent& event) {}
86 85
87 // These match incoming IPCs. 86 // These match incoming IPCs.
88 virtual void Navigate(const GURL& url) {} 87 virtual void Navigate(const GURL& url) {}
89 virtual void ClosePage() {} 88 virtual void ClosePage() {}
90 89
91 // This indicates that animations to scroll the focused element into view (if 90 // This indicates that animations to scroll the focused element into view (if
92 // any) have completed. May be called more than once for a single focus. Can 91 // any) have completed. May be called more than once for a single focus. Can
93 // be called from browser, renderer, or compositor. 92 // be called from browser, renderer, or compositor.
94 virtual void FocusChangeComplete() {} 93 virtual void FocusChangeComplete() {}
(...skipping 29 matching lines...) Expand all
124 RenderView* render_view_; 123 RenderView* render_view_;
125 // The routing ID of the associated RenderView. 124 // The routing ID of the associated RenderView.
126 int routing_id_; 125 int routing_id_;
127 126
128 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 127 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
129 }; 128 };
130 129
131 } // namespace content 130 } // namespace content
132 131
133 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 132 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/renderer/platform_event_observer.h ('k') | content/public/test/content_test_suite_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698