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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 bool user_gesture); | 477 bool user_gesture); |
478 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); | 478 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); |
479 void OnShowFullscreenWidget(int route_id); | 479 void OnShowFullscreenWidget(int route_id); |
480 void OnRunModal(int opener_id, IPC::Message* reply_msg); | 480 void OnRunModal(int opener_id, IPC::Message* reply_msg); |
481 void OnRenderViewReady(); | 481 void OnRenderViewReady(); |
482 void OnRenderProcessGone(int status, int error_code); | 482 void OnRenderProcessGone(int status, int error_code); |
483 void OnUpdateState(int32 page_id, const PageState& state); | 483 void OnUpdateState(int32 page_id, const PageState& state); |
484 void OnUpdateTargetURL(int32 page_id, const GURL& url); | 484 void OnUpdateTargetURL(int32 page_id, const GURL& url); |
485 void OnClose(); | 485 void OnClose(); |
486 void OnRequestMove(const gfx::Rect& pos); | 486 void OnRequestMove(const gfx::Rect& pos); |
487 void OnDidChangeLoadProgress(double load_progress); | |
488 void OnDocumentAvailableInMainFrame(); | 487 void OnDocumentAvailableInMainFrame(); |
489 void OnToggleFullscreen(bool enter_fullscreen); | 488 void OnToggleFullscreen(bool enter_fullscreen); |
490 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); | 489 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); |
491 void OnDidChangeScrollOffset(); | 490 void OnDidChangeScrollOffset(); |
492 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | 491 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, |
493 bool is_pinned_to_right); | 492 bool is_pinned_to_right); |
494 void OnDidChangeNumWheelEvents(int count); | 493 void OnDidChangeNumWheelEvents(int count); |
495 #if defined(OS_ANDROID) | 494 #if defined(OS_ANDROID) |
496 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds); | 495 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds); |
497 #endif | 496 #endif |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 644 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
646 }; | 645 }; |
647 | 646 |
648 #if defined(COMPILER_MSVC) | 647 #if defined(COMPILER_MSVC) |
649 #pragma warning(pop) | 648 #pragma warning(pop) |
650 #endif | 649 #endif |
651 | 650 |
652 } // namespace content | 651 } // namespace content |
653 | 652 |
654 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 653 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |