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

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

Issue 23899004: Use contents size for android_webview layout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « android_webview/renderer/aw_render_view_ext.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) 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 virtual void DraggableRegionsChanged(WebKit::WebFrame* frame) {}
83 virtual void DidRequestShowContextMenu( 83 virtual void DidRequestShowContextMenu(
84 WebKit::WebFrame* frame, 84 WebKit::WebFrame* frame,
85 const WebKit::WebContextMenuData& data) {} 85 const WebKit::WebContextMenuData& data) {}
86 virtual void DidCommitCompositorFrame() {} 86 virtual void DidCommitCompositorFrame() {}
87 virtual void DidUpdateLayout() {}
87 88
88 // These match the RenderView methods. 89 // These match the RenderView methods.
89 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {} 90 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {}
90 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} 91 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {}
91 virtual void DidHandleGestureEvent(const WebKit::WebGestureEvent& event) {} 92 virtual void DidHandleGestureEvent(const WebKit::WebGestureEvent& event) {}
92 virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {} 93 virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {}
93 94
94 // Called when we receive a console message from WebKit for which we requested 95 // Called when we receive a console message from WebKit for which we requested
95 // extra details (like the stack trace). |message| is the error message, 96 // extra details (like the stack trace). |message| is the error message,
96 // |source| is the WebKit-reported source of the error (either external or 97 // |source| is the WebKit-reported source of the error (either external or
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 RenderView* render_view_; 132 RenderView* render_view_;
132 // The routing ID of the associated RenderView. 133 // The routing ID of the associated RenderView.
133 int routing_id_; 134 int routing_id_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 136 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
136 }; 137 };
137 138
138 } // namespace content 139 } // namespace content
139 140
140 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 141 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « android_webview/renderer/aw_render_view_ext.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698