Chromium Code Reviews| 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 361 void OnRouteCloseEvent(); | 361 void OnRouteCloseEvent(); |
| 362 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); | 362 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); |
| 363 void OnStartDragging(const DropData& drop_data, | 363 void OnStartDragging(const DropData& drop_data, |
| 364 blink::WebDragOperationsMask operations_allowed, | 364 blink::WebDragOperationsMask operations_allowed, |
| 365 const SkBitmap& bitmap, | 365 const SkBitmap& bitmap, |
| 366 const gfx::Vector2d& bitmap_offset_in_dip, | 366 const gfx::Vector2d& bitmap_offset_in_dip, |
| 367 const DragEventSourceInfo& event_info); | 367 const DragEventSourceInfo& event_info); |
| 368 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); | 368 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); |
| 369 void OnTargetDropACK(); | 369 void OnTargetDropACK(); |
| 370 void OnTakeFocus(bool reverse); | 370 void OnTakeFocus(bool reverse); |
| 371 void OnFocusedNodeChanged(bool is_editable_node); | 371 void OnFocusedNodeChanged(bool is_editable_node, |
| 372 const gfx::Rect& node_bounds); | |
|
oshima
2014/12/11 19:08:59
nit: node_bounds_in_viewport
jennyz
2014/12/12 16:11:19
Done.
| |
| 372 void OnClosePageACK(); | 373 void OnClosePageACK(); |
| 373 void OnDidZoomURL(double zoom_level, const GURL& url); | 374 void OnDidZoomURL(double zoom_level, const GURL& url); |
| 374 void OnRunFileChooser(const FileChooserParams& params); | 375 void OnRunFileChooser(const FileChooserParams& params); |
| 375 void OnFocusedNodeTouched(bool editable); | 376 void OnFocusedNodeTouched(bool editable); |
| 376 | 377 |
| 377 private: | 378 private: |
| 378 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate | 379 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate |
| 379 // utility functions and state needed in both classes, while we move frame | 380 // utility functions and state needed in both classes, while we move frame |
| 380 // specific code away from this class. | 381 // specific code away from this class. |
| 381 friend class RenderFrameHostImpl; | 382 friend class RenderFrameHostImpl; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 476 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 477 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 477 }; | 478 }; |
| 478 | 479 |
| 479 #if defined(COMPILER_MSVC) | 480 #if defined(COMPILER_MSVC) |
| 480 #pragma warning(pop) | 481 #pragma warning(pop) |
| 481 #endif | 482 #endif |
| 482 | 483 |
| 483 } // namespace content | 484 } // namespace content |
| 484 | 485 |
| 485 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 486 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |