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

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

Issue 2629243002: content: Remove blimp compositing dependencies. (Closed)
Patch Set: .. Created 3 years, 11 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
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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 void AddKeyPressEventCallback(const KeyPressEventCallback& callback) override; 167 void AddKeyPressEventCallback(const KeyPressEventCallback& callback) override;
168 void RemoveKeyPressEventCallback( 168 void RemoveKeyPressEventCallback(
169 const KeyPressEventCallback& callback) override; 169 const KeyPressEventCallback& callback) override;
170 void AddMouseEventCallback(const MouseEventCallback& callback) override; 170 void AddMouseEventCallback(const MouseEventCallback& callback) override;
171 void RemoveMouseEventCallback(const MouseEventCallback& callback) override; 171 void RemoveMouseEventCallback(const MouseEventCallback& callback) override;
172 void AddInputEventObserver( 172 void AddInputEventObserver(
173 RenderWidgetHost::InputEventObserver* observer) override; 173 RenderWidgetHost::InputEventObserver* observer) override;
174 void RemoveInputEventObserver( 174 void RemoveInputEventObserver(
175 RenderWidgetHost::InputEventObserver* observer) override; 175 RenderWidgetHost::InputEventObserver* observer) override;
176 void GetScreenInfo(content::ScreenInfo* result) override; 176 void GetScreenInfo(content::ScreenInfo* result) override;
177 void HandleCompositorProto(const std::vector<uint8_t>& proto) override;
178 // |drop_data| must have been filtered. The embedder should call 177 // |drop_data| must have been filtered. The embedder should call
179 // FilterDropData before passing the drop data to RWHI. 178 // FilterDropData before passing the drop data to RWHI.
180 void DragTargetDragEnter(const DropData& drop_data, 179 void DragTargetDragEnter(const DropData& drop_data,
181 const gfx::Point& client_pt, 180 const gfx::Point& client_pt,
182 const gfx::Point& screen_pt, 181 const gfx::Point& screen_pt,
183 blink::WebDragOperationsMask operations_allowed, 182 blink::WebDragOperationsMask operations_allowed,
184 int key_modifiers) override; 183 int key_modifiers) override;
185 void DragTargetDragEnterWithMetaData( 184 void DragTargetDragEnterWithMetaData(
186 const std::vector<DropData::Metadata>& metadata, 185 const std::vector<DropData::Metadata>& metadata,
187 const gfx::Point& client_pt, 186 const gfx::Point& client_pt,
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 void OnImeCancelComposition(); 636 void OnImeCancelComposition();
638 void OnLockMouse(bool user_gesture, 637 void OnLockMouse(bool user_gesture,
639 bool last_unlocked_by_target, 638 bool last_unlocked_by_target,
640 bool privileged); 639 bool privileged);
641 void OnUnlockMouse(); 640 void OnUnlockMouse();
642 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, 641 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels,
643 const gfx::Size& size, 642 const gfx::Size& size,
644 const cc::SharedBitmapId& id); 643 const cc::SharedBitmapId& id);
645 void OnSelectionBoundsChanged( 644 void OnSelectionBoundsChanged(
646 const ViewHostMsg_SelectionBounds_Params& params); 645 const ViewHostMsg_SelectionBounds_Params& params);
647 void OnForwardCompositorProto(const std::vector<uint8_t>& proto);
648 void OnSetNeedsBeginFrames(bool needs_begin_frames); 646 void OnSetNeedsBeginFrames(bool needs_begin_frames);
649 void OnHittestData(const FrameHostMsg_HittestData_Params& params); 647 void OnHittestData(const FrameHostMsg_HittestData_Params& params);
650 void OnFocusedNodeTouched(bool editable); 648 void OnFocusedNodeTouched(bool editable);
651 void OnStartDragging(const DropData& drop_data, 649 void OnStartDragging(const DropData& drop_data,
652 blink::WebDragOperationsMask operations_allowed, 650 blink::WebDragOperationsMask operations_allowed,
653 const SkBitmap& bitmap, 651 const SkBitmap& bitmap,
654 const gfx::Vector2d& bitmap_offset_in_dip, 652 const gfx::Vector2d& bitmap_offset_in_dip,
655 const DragEventSourceInfo& event_info); 653 const DragEventSourceInfo& event_info);
656 void OnUpdateDragCursor(blink::WebDragOperation current_op); 654 void OnUpdateDragCursor(blink::WebDragOperation current_op);
657 655
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 #endif 907 #endif
910 908
911 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 909 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
912 910
913 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 911 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
914 }; 912 };
915 913
916 } // namespace content 914 } // namespace content
917 915
918 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 916 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_delegate.h ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698