| 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 virtual void WillSubmitForm(WebKit::WebFrame* frame, | 72 virtual void WillSubmitForm(WebKit::WebFrame* frame, |
| 73 const WebKit::WebFormElement& form) {} | 73 const WebKit::WebFormElement& form) {} |
| 74 virtual void DidCreateDataSource(WebKit::WebFrame* frame, | 74 virtual void DidCreateDataSource(WebKit::WebFrame* frame, |
| 75 WebKit::WebDataSource* ds) {} | 75 WebKit::WebDataSource* ds) {} |
| 76 virtual void PrintPage(WebKit::WebFrame* frame) {} | 76 virtual void PrintPage(WebKit::WebFrame* frame) {} |
| 77 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} | 77 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} |
| 78 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, | 78 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, |
| 79 WebKit::WebMediaPlayerClient* client) {} | 79 WebKit::WebMediaPlayerClient* client) {} |
| 80 virtual void ZoomLevelChanged() {}; | 80 virtual void ZoomLevelChanged() {}; |
| 81 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {} | 81 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {} |
| 82 virtual void DraggableRegionsChanged(WebKit::WebFrame* frame) {} |
| 82 | 83 |
| 83 // These match the RenderView methods. | 84 // These match the RenderView methods. |
| 84 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {} | 85 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {} |
| 85 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} | 86 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} |
| 86 virtual void DidCreatePepperPlugin(ppapi::host::PpapiHost* host) {} | 87 virtual void DidCreatePepperPlugin(ppapi::host::PpapiHost* host) {} |
| 87 | 88 |
| 88 // These match incoming IPCs. | 89 // These match incoming IPCs. |
| 89 virtual void ContextMenuAction(unsigned id) {} | 90 virtual void ContextMenuAction(unsigned id) {} |
| 90 virtual void Navigate(const GURL& url) {} | 91 virtual void Navigate(const GURL& url) {} |
| 91 virtual void ClosePage() {} | 92 virtual void ClosePage() {} |
| (...skipping 21 matching lines...) Expand all Loading... |
| 113 RenderView* render_view_; | 114 RenderView* render_view_; |
| 114 // The routing ID of the associated RenderView. | 115 // The routing ID of the associated RenderView. |
| 115 int routing_id_; | 116 int routing_id_; |
| 116 | 117 |
| 117 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); | 118 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 } // namespace content | 121 } // namespace content |
| 121 | 122 |
| 122 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ | 123 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ |
| OLD | NEW |