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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 216 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
217 virtual void AcceleratedSurfaceBuffersSwapped( 217 virtual void AcceleratedSurfaceBuffersSwapped(
218 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, 218 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel,
219 int gpu_host_id) OVERRIDE; 219 int gpu_host_id) OVERRIDE;
220 virtual void AcceleratedSurfacePostSubBuffer( 220 virtual void AcceleratedSurfacePostSubBuffer(
221 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel, 221 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel,
222 int gpu_host_id) OVERRIDE; 222 int gpu_host_id) OVERRIDE;
223 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 223 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
224 virtual void AcceleratedSurfaceRelease() OVERRIDE; 224 virtual void AcceleratedSurfaceRelease() OVERRIDE;
225 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 225 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
226 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 226 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE;
227 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 227 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
228 virtual void GestureEventAck(int gesture_event_type, 228 virtual void GestureEventAck(int gesture_event_type,
229 InputEventAckState ack_result) OVERRIDE; 229 InputEventAckState ack_result) OVERRIDE;
230 virtual void ProcessAckedTouchEvent( 230 virtual void ProcessAckedTouchEvent(
231 const TouchEventWithLatencyInfo& touch, 231 const TouchEventWithLatencyInfo& touch,
232 InputEventAckState ack_result) OVERRIDE; 232 InputEventAckState ack_result) OVERRIDE;
233 virtual SyntheticGesture* CreateSmoothScrollGesture( 233 virtual SyntheticGesture* CreateSmoothScrollGesture(
234 bool scroll_down, 234 bool scroll_down,
235 int pixels_to_scroll, 235 int pixels_to_scroll,
236 int mouse_event_x, 236 int mouse_event_x,
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 435
436 // Returns whether the widget needs an input grab to work properly. 436 // Returns whether the widget needs an input grab to work properly.
437 bool NeedsInputGrab(); 437 bool NeedsInputGrab();
438 438
439 // Confirm existing composition text in the webpage and ask the input method 439 // Confirm existing composition text in the webpage and ask the input method
440 // to cancel its ongoing composition session. 440 // to cancel its ongoing composition session.
441 void FinishImeCompositionSession(); 441 void FinishImeCompositionSession();
442 442
443 // This method computes movementX/Y and keeps track of mouse location for 443 // This method computes movementX/Y and keeps track of mouse location for
444 // mouse lock on all mouse move events. 444 // mouse lock on all mouse move events.
445 void ModifyEventMovementAndCoords(WebKit::WebMouseEvent* event); 445 void ModifyEventMovementAndCoords(blink::WebMouseEvent* event);
446 446
447 // Sends an IPC to the renderer process to communicate whether or not 447 // Sends an IPC to the renderer process to communicate whether or not
448 // the mouse cursor is visible anywhere on the screen. 448 // the mouse cursor is visible anywhere on the screen.
449 void NotifyRendererOfCursorVisibilityState(bool is_visible); 449 void NotifyRendererOfCursorVisibilityState(bool is_visible);
450 450
451 // If |clip| is non-empty and and doesn't contain |rect| or |clip| is empty 451 // If |clip| is non-empty and and doesn't contain |rect| or |clip| is empty
452 // SchedulePaint() is invoked for |rect|. 452 // SchedulePaint() is invoked for |rect|.
453 void SchedulePaintIfNotInClip(const gfx::Rect& rect, const gfx::Rect& clip); 453 void SchedulePaintIfNotInClip(const gfx::Rect& rect, const gfx::Rect& clip);
454 454
455 // Helper method to determine if, in mouse locked mode, the cursor should be 455 // Helper method to determine if, in mouse locked mode, the cursor should be
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 593
594 // True when content is being loaded. Used to show an hourglass cursor. 594 // True when content is being loaded. Used to show an hourglass cursor.
595 bool is_loading_; 595 bool is_loading_;
596 596
597 // The cursor for the page. This is passed up from the renderer. 597 // The cursor for the page. This is passed up from the renderer.
598 WebCursor current_cursor_; 598 WebCursor current_cursor_;
599 599
600 // The touch-event. Its touch-points are updated as necessary. A new 600 // The touch-event. Its touch-points are updated as necessary. A new
601 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is 601 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is
602 // removed from the list on an ET_TOUCH_RELEASED event. 602 // removed from the list on an ET_TOUCH_RELEASED event.
603 WebKit::WebTouchEvent touch_event_; 603 blink::WebTouchEvent touch_event_;
604 604
605 // The current text input type. 605 // The current text input type.
606 ui::TextInputType text_input_type_; 606 ui::TextInputType text_input_type_;
607 // The current text input mode corresponding to HTML5 inputmode attribute. 607 // The current text input mode corresponding to HTML5 inputmode attribute.
608 ui::TextInputMode text_input_mode_; 608 ui::TextInputMode text_input_mode_;
609 bool can_compose_inline_; 609 bool can_compose_inline_;
610 610
611 // Rectangles for the selection anchor and focus. 611 // Rectangles for the selection anchor and focus.
612 gfx::Rect selection_anchor_rect_; 612 gfx::Rect selection_anchor_rect_;
613 gfx::Rect selection_focus_rect_; 613 gfx::Rect selection_focus_rect_;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 scoped_ptr<ReleasedFrameInfo> released_software_frame_; 768 scoped_ptr<ReleasedFrameInfo> released_software_frame_;
769 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; 769 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
770 770
771 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 771 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
772 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 772 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
773 }; 773 };
774 774
775 } // namespace content 775 } // namespace content
776 776
777 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 777 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698