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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 void OnRenderViewReady(); | 485 void OnRenderViewReady(); |
486 void OnRenderProcessGone(int status, int error_code); | 486 void OnRenderProcessGone(int status, int error_code); |
487 void OnUpdateState(int32 page_id, const PageState& state); | 487 void OnUpdateState(int32 page_id, const PageState& state); |
488 void OnUpdateTargetURL(int32 page_id, const GURL& url); | 488 void OnUpdateTargetURL(int32 page_id, const GURL& url); |
489 void OnClose(); | 489 void OnClose(); |
490 void OnRequestMove(const gfx::Rect& pos); | 490 void OnRequestMove(const gfx::Rect& pos); |
491 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); | 491 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); |
492 void OnToggleFullscreen(bool enter_fullscreen); | 492 void OnToggleFullscreen(bool enter_fullscreen); |
493 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); | 493 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); |
494 void OnDidChangeScrollOffset(); | 494 void OnDidChangeScrollOffset(); |
495 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | |
496 bool is_pinned_to_right); | |
497 void OnPasteFromSelectionClipboard(); | 495 void OnPasteFromSelectionClipboard(); |
498 void OnRouteCloseEvent(); | 496 void OnRouteCloseEvent(); |
499 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); | 497 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); |
500 void OnStartDragging(const DropData& drop_data, | 498 void OnStartDragging(const DropData& drop_data, |
501 blink::WebDragOperationsMask operations_allowed, | 499 blink::WebDragOperationsMask operations_allowed, |
502 const SkBitmap& bitmap, | 500 const SkBitmap& bitmap, |
503 const gfx::Vector2d& bitmap_offset_in_dip, | 501 const gfx::Vector2d& bitmap_offset_in_dip, |
504 const DragEventSourceInfo& event_info); | 502 const DragEventSourceInfo& event_info); |
505 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); | 503 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); |
506 void OnTargetDropACK(); | 504 void OnTargetDropACK(); |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 643 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
646 }; | 644 }; |
647 | 645 |
648 #if defined(COMPILER_MSVC) | 646 #if defined(COMPILER_MSVC) |
649 #pragma warning(pop) | 647 #pragma warning(pop) |
650 #endif | 648 #endif |
651 | 649 |
652 } // namespace content | 650 } // namespace content |
653 | 651 |
654 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 652 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |