| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 const SkBitmap& bitmap, | 344 const SkBitmap& bitmap, |
| 345 const gfx::Vector2d& bitmap_offset_in_dip, | 345 const gfx::Vector2d& bitmap_offset_in_dip, |
| 346 const DragEventSourceInfo& event_info); | 346 const DragEventSourceInfo& event_info); |
| 347 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); | 347 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); |
| 348 void OnTargetDropACK(); | 348 void OnTargetDropACK(); |
| 349 void OnTakeFocus(bool reverse); | 349 void OnTakeFocus(bool reverse); |
| 350 void OnFocusedNodeChanged(bool is_editable_node, | 350 void OnFocusedNodeChanged(bool is_editable_node, |
| 351 const gfx::Rect& node_bounds_in_viewport); | 351 const gfx::Rect& node_bounds_in_viewport); |
| 352 void OnClosePageACK(); | 352 void OnClosePageACK(); |
| 353 void OnDidZoomURL(double zoom_level, const GURL& url); | 353 void OnDidZoomURL(double zoom_level, const GURL& url); |
| 354 void OnPageScaleFactorIsOneChanged(bool is_one); |
| 354 void OnRunFileChooser(const FileChooserParams& params); | 355 void OnRunFileChooser(const FileChooserParams& params); |
| 355 void OnFocusedNodeTouched(bool editable); | 356 void OnFocusedNodeTouched(bool editable); |
| 356 | 357 |
| 357 private: | 358 private: |
| 358 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate | 359 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate |
| 359 // utility functions and state needed in both classes, while we move frame | 360 // utility functions and state needed in both classes, while we move frame |
| 360 // specific code away from this class. | 361 // specific code away from this class. |
| 361 friend class RenderFrameHostImpl; | 362 friend class RenderFrameHostImpl; |
| 362 friend class TestRenderViewHost; | 363 friend class TestRenderViewHost; |
| 363 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost); | 364 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 449 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 449 }; | 450 }; |
| 450 | 451 |
| 451 #if defined(COMPILER_MSVC) | 452 #if defined(COMPILER_MSVC) |
| 452 #pragma warning(pop) | 453 #pragma warning(pop) |
| 453 #endif | 454 #endif |
| 454 | 455 |
| 455 } // namespace content | 456 } // namespace content |
| 456 | 457 |
| 457 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 458 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |