| 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 bool user_gesture); | 481 bool user_gesture); |
| 482 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); | 482 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); |
| 483 void OnShowFullscreenWidget(int route_id); | 483 void OnShowFullscreenWidget(int route_id); |
| 484 void OnRunModal(int opener_id, IPC::Message* reply_msg); | 484 void OnRunModal(int opener_id, IPC::Message* reply_msg); |
| 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 OnDidChangeLoadProgress(double load_progress); | |
| 492 void OnDocumentAvailableInMainFrame(); | 491 void OnDocumentAvailableInMainFrame(); |
| 493 void OnToggleFullscreen(bool enter_fullscreen); | 492 void OnToggleFullscreen(bool enter_fullscreen); |
| 494 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); | 493 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); |
| 495 void OnDidChangeScrollOffset(); | 494 void OnDidChangeScrollOffset(); |
| 496 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | 495 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, |
| 497 bool is_pinned_to_right); | 496 bool is_pinned_to_right); |
| 498 void OnDidChangeNumWheelEvents(int count); | 497 void OnDidChangeNumWheelEvents(int count); |
| 499 #if defined(OS_ANDROID) | 498 #if defined(OS_ANDROID) |
| 500 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds); | 499 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds); |
| 501 #endif | 500 #endif |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 648 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 650 }; | 649 }; |
| 651 | 650 |
| 652 #if defined(COMPILER_MSVC) | 651 #if defined(COMPILER_MSVC) |
| 653 #pragma warning(pop) | 652 #pragma warning(pop) |
| 654 #endif | 653 #endif |
| 655 | 654 |
| 656 } // namespace content | 655 } // namespace content |
| 657 | 656 |
| 658 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 657 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |