OLD | NEW |
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 const blink::WebVector<blink::WebString>& newly_matching_selectors, | 72 const blink::WebVector<blink::WebString>& newly_matching_selectors, |
73 const blink::WebVector<blink::WebString>& stopped_matching_selectors) {} | 73 const blink::WebVector<blink::WebString>& stopped_matching_selectors) {} |
74 virtual void WillSendSubmitEvent(blink::WebLocalFrame* frame, | 74 virtual void WillSendSubmitEvent(blink::WebLocalFrame* frame, |
75 const blink::WebFormElement& form) {} | 75 const blink::WebFormElement& form) {} |
76 virtual void WillSubmitForm(blink::WebLocalFrame* frame, | 76 virtual void WillSubmitForm(blink::WebLocalFrame* frame, |
77 const blink::WebFormElement& form) {} | 77 const blink::WebFormElement& form) {} |
78 virtual void DidCreateDataSource(blink::WebLocalFrame* frame, | 78 virtual void DidCreateDataSource(blink::WebLocalFrame* frame, |
79 blink::WebDataSource* ds) {} | 79 blink::WebDataSource* ds) {} |
80 virtual void PrintPage(blink::WebLocalFrame* frame, bool user_initiated) {} | 80 virtual void PrintPage(blink::WebLocalFrame* frame, bool user_initiated) {} |
81 virtual void FocusedNodeChanged(const blink::WebNode& node) {} | 81 virtual void FocusedNodeChanged(const blink::WebNode& node) {} |
82 virtual void ZoomLevelChanged() {}; | |
83 virtual void DidChangeScrollOffset(blink::WebLocalFrame* frame) {} | 82 virtual void DidChangeScrollOffset(blink::WebLocalFrame* frame) {} |
84 virtual void DraggableRegionsChanged(blink::WebFrame* frame) {} | 83 virtual void DraggableRegionsChanged(blink::WebFrame* frame) {} |
85 virtual void DidCommitCompositorFrame() {} | 84 virtual void DidCommitCompositorFrame() {} |
86 virtual void DidUpdateLayout() {} | 85 virtual void DidUpdateLayout() {} |
87 | 86 |
88 // These match the RenderView methods. | 87 // These match the RenderView methods. |
89 virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) {} | 88 virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) {} |
90 virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) {} | 89 virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) {} |
91 | 90 |
92 // These match incoming IPCs. | 91 // These match incoming IPCs. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 RenderView* render_view_; | 124 RenderView* render_view_; |
126 // The routing ID of the associated RenderView. | 125 // The routing ID of the associated RenderView. |
127 int routing_id_; | 126 int routing_id_; |
128 | 127 |
129 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); | 128 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); |
130 }; | 129 }; |
131 | 130 |
132 } // namespace content | 131 } // namespace content |
133 | 132 |
134 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ | 133 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |