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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 namespace cc { 36 namespace cc {
37 class CopyOutputResult; 37 class CopyOutputResult;
38 class DelegatedFrameProvider; 38 class DelegatedFrameProvider;
39 class DelegatedRendererLayer; 39 class DelegatedRendererLayer;
40 class Layer; 40 class Layer;
41 class SingleReleaseCallback; 41 class SingleReleaseCallback;
42 class TextureLayer; 42 class TextureLayer;
43 } 43 }
44 44
45 namespace WebKit { 45 namespace blink {
46 class WebExternalTextureLayer; 46 class WebExternalTextureLayer;
47 class WebTouchEvent; 47 class WebTouchEvent;
48 class WebMouseEvent; 48 class WebMouseEvent;
49 } 49 }
50 50
51 namespace content { 51 namespace content {
52 class ContentViewCoreImpl; 52 class ContentViewCoreImpl;
53 class OverscrollGlow; 53 class OverscrollGlow;
54 class RenderWidgetHost; 54 class RenderWidgetHost;
55 class RenderWidgetHostImpl; 55 class RenderWidgetHostImpl;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 133 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
134 virtual void CopyFromCompositingSurface( 134 virtual void CopyFromCompositingSurface(
135 const gfx::Rect& src_subrect, 135 const gfx::Rect& src_subrect,
136 const gfx::Size& dst_size, 136 const gfx::Size& dst_size,
137 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; 137 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE;
138 virtual void CopyFromCompositingSurfaceToVideoFrame( 138 virtual void CopyFromCompositingSurfaceToVideoFrame(
139 const gfx::Rect& src_subrect, 139 const gfx::Rect& src_subrect,
140 const scoped_refptr<media::VideoFrame>& target, 140 const scoped_refptr<media::VideoFrame>& target,
141 const base::Callback<void(bool)>& callback) OVERRIDE; 141 const base::Callback<void(bool)>& callback) OVERRIDE;
142 virtual bool CanCopyToVideoFrame() const OVERRIDE; 142 virtual bool CanCopyToVideoFrame() const OVERRIDE;
143 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 143 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE;
144 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 144 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
145 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 145 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
146 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 146 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
147 InputEventAckState ack_result) OVERRIDE; 147 InputEventAckState ack_result) OVERRIDE;
148 virtual void SetHasHorizontalScrollbar( 148 virtual void SetHasHorizontalScrollbar(
149 bool has_horizontal_scrollbar) OVERRIDE; 149 bool has_horizontal_scrollbar) OVERRIDE;
150 virtual void SetScrollOffsetPinning( 150 virtual void SetScrollOffsetPinning(
151 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 151 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
152 virtual void UnhandledWheelEvent( 152 virtual void UnhandledWheelEvent(
153 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 153 const blink::WebMouseWheelEvent& event) OVERRIDE;
154 virtual InputEventAckState FilterInputEvent( 154 virtual InputEventAckState FilterInputEvent(
155 const WebKit::WebInputEvent& input_event) OVERRIDE; 155 const blink::WebInputEvent& input_event) OVERRIDE;
156 virtual void OnSetNeedsFlushInput() OVERRIDE; 156 virtual void OnSetNeedsFlushInput() OVERRIDE;
157 virtual void GestureEventAck(int gesture_event_type, 157 virtual void GestureEventAck(int gesture_event_type,
158 InputEventAckState ack_result) OVERRIDE; 158 InputEventAckState ack_result) OVERRIDE;
159 virtual void OnAccessibilityEvents( 159 virtual void OnAccessibilityEvents(
160 const std::vector<AccessibilityHostMsg_EventParams>& 160 const std::vector<AccessibilityHostMsg_EventParams>&
161 params) OVERRIDE; 161 params) OVERRIDE;
162 virtual bool LockMouse() OVERRIDE; 162 virtual bool LockMouse() OVERRIDE;
163 virtual void UnlockMouse() OVERRIDE; 163 virtual void UnlockMouse() OVERRIDE;
164 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; 164 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE;
165 virtual void OnSwapCompositorFrame( 165 virtual void OnSwapCompositorFrame(
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // cc::DelegatedFrameResourceCollectionClient implementation. 201 // cc::DelegatedFrameResourceCollectionClient implementation.
202 virtual void UnusedResourcesAreAvailable() OVERRIDE; 202 virtual void UnusedResourcesAreAvailable() OVERRIDE;
203 203
204 // ImageTransportFactoryAndroidObserver implementation. 204 // ImageTransportFactoryAndroidObserver implementation.
205 virtual void OnLostResources() OVERRIDE; 205 virtual void OnLostResources() OVERRIDE;
206 206
207 // Non-virtual methods 207 // Non-virtual methods
208 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 208 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
209 SkColor GetCachedBackgroundColor() const; 209 SkColor GetCachedBackgroundColor() const;
210 void SendKeyEvent(const NativeWebKeyboardEvent& event); 210 void SendKeyEvent(const NativeWebKeyboardEvent& event);
211 void SendTouchEvent(const WebKit::WebTouchEvent& event); 211 void SendTouchEvent(const blink::WebTouchEvent& event);
212 void SendMouseEvent(const WebKit::WebMouseEvent& event); 212 void SendMouseEvent(const blink::WebMouseEvent& event);
213 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); 213 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event);
214 void SendGestureEvent(const WebKit::WebGestureEvent& event); 214 void SendGestureEvent(const blink::WebGestureEvent& event);
215 void SendBeginFrame(const cc::BeginFrameArgs& args); 215 void SendBeginFrame(const cc::BeginFrameArgs& args);
216 216
217 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); 217 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params);
218 void OnDidChangeBodyBackgroundColor(SkColor color); 218 void OnDidChangeBodyBackgroundColor(SkColor color);
219 void OnStartContentIntent(const GURL& content_url); 219 void OnStartContentIntent(const GURL& content_url);
220 void OnSetNeedsBeginFrame(bool enabled); 220 void OnSetNeedsBeginFrame(bool enabled);
221 221
222 int GetNativeImeAdapter(); 222 int GetNativeImeAdapter();
223 223
224 void WasResized(); 224 void WasResized();
225 225
226 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); 226 blink::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size);
227 bool PopulateBitmapWithContents(jobject jbitmap); 227 bool PopulateBitmapWithContents(jobject jbitmap);
228 228
229 bool HasValidFrame() const; 229 bool HasValidFrame() const;
230 230
231 // Select all text between the given coordinates. 231 // Select all text between the given coordinates.
232 void SelectRange(const gfx::Point& start, const gfx::Point& end); 232 void SelectRange(const gfx::Point& start, const gfx::Point& end);
233 233
234 void MoveCaret(const gfx::Point& point); 234 void MoveCaret(const gfx::Point& point);
235 235
236 void RequestContentClipping(const gfx::Rect& clipping, 236 void RequestContentClipping(const gfx::Rect& clipping,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 scoped_ptr<OverscrollGlow> overscroll_effect_; 335 scoped_ptr<OverscrollGlow> overscroll_effect_;
336 336
337 bool flush_input_requested_; 337 bool flush_input_requested_;
338 338
339 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 339 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
340 }; 340 };
341 341
342 } // namespace content 342 } // namespace content
343 343
344 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 344 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698