| 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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual void DidCreateNewDocument(blink::WebLocalFrame* frame) {} | 50 virtual void DidCreateNewDocument(blink::WebLocalFrame* frame) {} |
| 51 virtual void DidClearWindowObject(blink::WebLocalFrame* frame) {} | 51 virtual void DidClearWindowObject(blink::WebLocalFrame* frame) {} |
| 52 virtual void DidCreateDocumentElement(blink::WebLocalFrame* frame) {} | 52 virtual void DidCreateDocumentElement(blink::WebLocalFrame* frame) {} |
| 53 virtual void FrameCreated(blink::WebLocalFrame* parent, | 53 virtual void FrameCreated(blink::WebLocalFrame* parent, |
| 54 blink::WebFrame* frame) {} | 54 blink::WebFrame* frame) {} |
| 55 virtual void FrameDetached(blink::WebFrame* frame) {} | 55 virtual void FrameDetached(blink::WebFrame* frame) {} |
| 56 virtual void FrameWillClose(blink::WebFrame* frame) {} | 56 virtual void FrameWillClose(blink::WebFrame* frame) {} |
| 57 virtual void PrintPage(blink::WebLocalFrame* frame, bool user_initiated) {} | 57 virtual void PrintPage(blink::WebLocalFrame* frame, bool user_initiated) {} |
| 58 virtual void FocusedNodeChanged(const blink::WebNode& node) {} | 58 virtual void FocusedNodeChanged(const blink::WebNode& node) {} |
| 59 virtual void DraggableRegionsChanged(blink::WebFrame* frame) {} | 59 virtual void DraggableRegionsChanged(blink::WebFrame* frame) {} |
| 60 virtual void DidCommitCompositorFrame() {} | |
| 61 virtual void DidUpdateLayout() {} | 60 virtual void DidUpdateLayout() {} |
| 62 | 61 |
| 63 // These match the RenderView methods. | 62 // These match the RenderView methods. |
| 64 virtual void DidHandleGestureEvent(const blink::WebGestureEvent& event) {} | 63 virtual void DidHandleGestureEvent(const blink::WebGestureEvent& event) {} |
| 65 | 64 |
| 66 virtual void OnMouseDown(const blink::WebNode& mouse_down_node) {} | 65 virtual void OnMouseDown(const blink::WebNode& mouse_down_node) {} |
| 67 | 66 |
| 68 // These match incoming IPCs. | 67 // These match incoming IPCs. |
| 69 virtual void Navigate(const GURL& url) {} | 68 virtual void Navigate(const GURL& url) {} |
| 70 virtual void ClosePage() {} | 69 virtual void ClosePage() {} |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 RenderViewImpl* render_view_; | 105 RenderViewImpl* render_view_; |
| 107 // The routing ID of the associated RenderView. | 106 // The routing ID of the associated RenderView. |
| 108 int routing_id_; | 107 int routing_id_; |
| 109 | 108 |
| 110 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); | 109 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); |
| 111 }; | 110 }; |
| 112 | 111 |
| 113 } // namespace content | 112 } // namespace content |
| 114 | 113 |
| 115 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ | 114 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ |
| OLD | NEW |