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

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

Issue 10218001: Add ZoomLevelChanged and DidChangeScrollOffset to RenderViewObserver (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Hide popup for all scrolls and zoom Created 8 years, 8 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
« no previous file with comments | « chrome/renderer/autofill/autofill_agent.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void FrameDetached(WebKit::WebFrame* frame) {} 61 virtual void FrameDetached(WebKit::WebFrame* frame) {}
62 virtual void FrameWillClose(WebKit::WebFrame* frame) {} 62 virtual void FrameWillClose(WebKit::WebFrame* frame) {}
63 virtual void WillSubmitForm(WebKit::WebFrame* frame, 63 virtual void WillSubmitForm(WebKit::WebFrame* frame,
64 const WebKit::WebFormElement& form) {} 64 const WebKit::WebFormElement& form) {}
65 virtual void DidCreateDataSource(WebKit::WebFrame* frame, 65 virtual void DidCreateDataSource(WebKit::WebFrame* frame,
66 WebKit::WebDataSource* ds) {} 66 WebKit::WebDataSource* ds) {}
67 virtual void PrintPage(WebKit::WebFrame* frame) {} 67 virtual void PrintPage(WebKit::WebFrame* frame) {}
68 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} 68 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {}
69 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, 69 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame,
70 WebKit::WebMediaPlayerClient* client) {} 70 WebKit::WebMediaPlayerClient* client) {}
71 virtual void ZoomLevelChanged() {};
72 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {}
71 73
72 // These match the RenderView methods. 74 // These match the RenderView methods.
73 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {} 75 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {}
74 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} 76 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {}
75 77
76 // These match incoming IPCs. 78 // These match incoming IPCs.
77 virtual void ContextMenuAction(unsigned id) {} 79 virtual void ContextMenuAction(unsigned id) {}
78 virtual void Navigate(const GURL& url) {} 80 virtual void Navigate(const GURL& url) {}
79 virtual void ClosePage() {} 81 virtual void ClosePage() {}
80 82
(...skipping 18 matching lines...) Expand all
99 RenderView* render_view_; 101 RenderView* render_view_;
100 // The routing ID of the associated RenderView. 102 // The routing ID of the associated RenderView.
101 int routing_id_; 103 int routing_id_;
102 104
103 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 105 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
104 }; 106 };
105 107
106 } // namespace content 108 } // namespace content
107 109
108 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 110 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/autofill_agent.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698