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