| 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 void OnPasteFromSelectionClipboard(); | 359 void OnPasteFromSelectionClipboard(); |
| 360 void OnRouteCloseEvent(); | 360 void OnRouteCloseEvent(); |
| 361 void OnStartDragging(const DropData& drop_data, | 361 void OnStartDragging(const DropData& drop_data, |
| 362 blink::WebDragOperationsMask operations_allowed, | 362 blink::WebDragOperationsMask operations_allowed, |
| 363 const SkBitmap& bitmap, | 363 const SkBitmap& bitmap, |
| 364 const gfx::Vector2d& bitmap_offset_in_dip, | 364 const gfx::Vector2d& bitmap_offset_in_dip, |
| 365 const DragEventSourceInfo& event_info); | 365 const DragEventSourceInfo& event_info); |
| 366 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); | 366 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); |
| 367 void OnTargetDropACK(); | 367 void OnTargetDropACK(); |
| 368 void OnTakeFocus(bool reverse); | 368 void OnTakeFocus(bool reverse); |
| 369 void OnFocusedNodeChanged(bool is_editable_node, | 369 void OnFocusedNodeChanged(bool is_editable_node, bool is_plugin_node, |
| 370 const gfx::Rect& node_bounds_in_viewport); | 370 const gfx::Rect& node_bounds_in_viewport); |
| 371 void OnClosePageACK(); | 371 void OnClosePageACK(); |
| 372 void OnDidZoomURL(double zoom_level, const GURL& url); | 372 void OnDidZoomURL(double zoom_level, const GURL& url); |
| 373 void OnPageScaleFactorIsOneChanged(bool is_one); | 373 void OnPageScaleFactorIsOneChanged(bool is_one); |
| 374 void OnRunFileChooser(const FileChooserParams& params); | 374 void OnRunFileChooser(const FileChooserParams& params); |
| 375 void OnFocusedNodeTouched(bool editable); | 375 void OnFocusedNodeTouched(bool editable); |
| 376 | 376 |
| 377 private: | 377 private: |
| 378 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate | 378 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate |
| 379 // utility functions and state needed in both classes, while we move frame | 379 // utility functions and state needed in both classes, while we move frame |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 471 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 472 }; | 472 }; |
| 473 | 473 |
| 474 #if defined(COMPILER_MSVC) | 474 #if defined(COMPILER_MSVC) |
| 475 #pragma warning(pop) | 475 #pragma warning(pop) |
| 476 #endif | 476 #endif |
| 477 | 477 |
| 478 } // namespace content | 478 } // namespace content |
| 479 | 479 |
| 480 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 480 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |