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 blink::WebInputEvent::Type causal_event_type); |
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 | 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 |
380 // specific code away from this class. | 380 // specific code away from this class. |
381 friend class RenderFrameHostImpl; | 381 friend class RenderFrameHostImpl; |
382 friend class TestRenderViewHost; | 382 friend class TestRenderViewHost; |
383 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost); | 383 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost); |
384 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, RoutingIdSane); | 384 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, RoutingIdSane); |
385 | 385 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 468 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
469 }; | 469 }; |
470 | 470 |
471 #if defined(COMPILER_MSVC) | 471 #if defined(COMPILER_MSVC) |
472 #pragma warning(pop) | 472 #pragma warning(pop) |
473 #endif | 473 #endif |
474 | 474 |
475 } // namespace content | 475 } // namespace content |
476 | 476 |
477 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 477 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |