| 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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 void OnRenderViewReady(); | 483 void OnRenderViewReady(); |
| 484 void OnRenderProcessGone(int status, int error_code); | 484 void OnRenderProcessGone(int status, int error_code); |
| 485 void OnUpdateState(int32 page_id, const PageState& state); | 485 void OnUpdateState(int32 page_id, const PageState& state); |
| 486 void OnUpdateTitle(int32 page_id, | 486 void OnUpdateTitle(int32 page_id, |
| 487 const base::string16& title, | 487 const base::string16& title, |
| 488 blink::WebTextDirection title_direction); | 488 blink::WebTextDirection title_direction); |
| 489 void OnUpdateEncoding(const std::string& encoding); | 489 void OnUpdateEncoding(const std::string& encoding); |
| 490 void OnUpdateTargetURL(int32 page_id, const GURL& url); | 490 void OnUpdateTargetURL(int32 page_id, const GURL& url); |
| 491 void OnClose(); | 491 void OnClose(); |
| 492 void OnRequestMove(const gfx::Rect& pos); | 492 void OnRequestMove(const gfx::Rect& pos); |
| 493 void OnDidChangeLoadProgress(double load_progress); | |
| 494 void OnDocumentAvailableInMainFrame(); | 493 void OnDocumentAvailableInMainFrame(); |
| 495 void OnToggleFullscreen(bool enter_fullscreen); | 494 void OnToggleFullscreen(bool enter_fullscreen); |
| 496 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); | 495 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); |
| 497 void OnDidChangeScrollOffset(); | 496 void OnDidChangeScrollOffset(); |
| 498 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | 497 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, |
| 499 bool is_pinned_to_right); | 498 bool is_pinned_to_right); |
| 500 void OnDidChangeNumWheelEvents(int count); | 499 void OnDidChangeNumWheelEvents(int count); |
| 501 #if defined(OS_ANDROID) | 500 #if defined(OS_ANDROID) |
| 502 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds); | 501 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds); |
| 503 #endif | 502 #endif |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 647 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 649 }; | 648 }; |
| 650 | 649 |
| 651 #if defined(COMPILER_MSVC) | 650 #if defined(COMPILER_MSVC) |
| 652 #pragma warning(pop) | 651 #pragma warning(pop) |
| 653 #endif | 652 #endif |
| 654 | 653 |
| 655 } // namespace content | 654 } // namespace content |
| 656 | 655 |
| 657 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 656 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |