| 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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 blink::WebDragOperationsMask operations_allowed, | 367 blink::WebDragOperationsMask operations_allowed, |
| 368 const SkBitmap& bitmap, | 368 const SkBitmap& bitmap, |
| 369 const gfx::Vector2d& bitmap_offset_in_dip, | 369 const gfx::Vector2d& bitmap_offset_in_dip, |
| 370 const DragEventSourceInfo& event_info); | 370 const DragEventSourceInfo& event_info); |
| 371 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); | 371 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); |
| 372 void OnTakeFocus(bool reverse); | 372 void OnTakeFocus(bool reverse); |
| 373 void OnFocusedNodeChanged(bool is_editable_node, | 373 void OnFocusedNodeChanged(bool is_editable_node, |
| 374 const gfx::Rect& node_bounds_in_viewport); | 374 const gfx::Rect& node_bounds_in_viewport); |
| 375 void OnClosePageACK(); | 375 void OnClosePageACK(); |
| 376 void OnDidZoomURL(double zoom_level, const GURL& url); | 376 void OnDidZoomURL(double zoom_level, const GURL& url); |
| 377 void OnPageScaleFactorIsOneChanged(bool is_one); | |
| 378 void OnRunFileChooser(const FileChooserParams& params); | 377 void OnRunFileChooser(const FileChooserParams& params); |
| 379 void OnFocusedNodeTouched(bool editable); | 378 void OnFocusedNodeTouched(bool editable); |
| 380 | 379 |
| 381 private: | 380 private: |
| 382 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate | 381 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate |
| 383 // utility functions and state needed in both classes, while we move frame | 382 // utility functions and state needed in both classes, while we move frame |
| 384 // specific code away from this class. | 383 // specific code away from this class. |
| 385 friend class RenderFrameHostImpl; | 384 friend class RenderFrameHostImpl; |
| 386 friend class TestRenderViewHost; | 385 friend class TestRenderViewHost; |
| 387 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost); | 386 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 490 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 492 }; | 491 }; |
| 493 | 492 |
| 494 #if defined(COMPILER_MSVC) | 493 #if defined(COMPILER_MSVC) |
| 495 #pragma warning(pop) | 494 #pragma warning(pop) |
| 496 #endif | 495 #endif |
| 497 | 496 |
| 498 } // namespace content | 497 } // namespace content |
| 499 | 498 |
| 500 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 499 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |