| 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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 void OnDidStartLoading(); | 509 void OnDidStartLoading(); |
| 510 void OnDidStopLoading(); | 510 void OnDidStopLoading(); |
| 511 void OnDidChangeLoadProgress(double load_progress); | 511 void OnDidChangeLoadProgress(double load_progress); |
| 512 void OnDidDisownOpener(); | 512 void OnDidDisownOpener(); |
| 513 void OnDocumentAvailableInMainFrame(); | 513 void OnDocumentAvailableInMainFrame(); |
| 514 void OnDocumentOnLoadCompletedInMainFrame(int32 page_id); | 514 void OnDocumentOnLoadCompletedInMainFrame(int32 page_id); |
| 515 void OnContextMenu(const ContextMenuParams& params); | 515 void OnContextMenu(const ContextMenuParams& params); |
| 516 void OnToggleFullscreen(bool enter_fullscreen); | 516 void OnToggleFullscreen(bool enter_fullscreen); |
| 517 void OnOpenURL(const ViewHostMsg_OpenURL_Params& params); | 517 void OnOpenURL(const ViewHostMsg_OpenURL_Params& params); |
| 518 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); | 518 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); |
| 519 void OnDidChangeScrollOffset(const gfx::Vector2d& offset); |
| 519 void OnDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, | 520 void OnDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, |
| 520 bool has_vertical_scrollbar); | 521 bool has_vertical_scrollbar); |
| 521 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | 522 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, |
| 522 bool is_pinned_to_right); | 523 bool is_pinned_to_right); |
| 523 void OnDidChangeNumWheelEvents(int count); | 524 void OnDidChangeNumWheelEvents(int count); |
| 524 void OnSelectionChanged(const string16& text, | 525 void OnSelectionChanged(const string16& text, |
| 525 size_t offset, | 526 size_t offset, |
| 526 const ui::Range& range); | 527 const ui::Range& range); |
| 527 void OnSelectionBoundsChanged(const gfx::Rect& start_rect, | 528 void OnSelectionBoundsChanged(const gfx::Rect& start_rect, |
| 528 WebKit::WebTextDirection start_direction, | 529 WebKit::WebTextDirection start_direction, |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 710 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 710 }; | 711 }; |
| 711 | 712 |
| 712 #if defined(COMPILER_MSVC) | 713 #if defined(COMPILER_MSVC) |
| 713 #pragma warning(pop) | 714 #pragma warning(pop) |
| 714 #endif | 715 #endif |
| 715 | 716 |
| 716 } // namespace content | 717 } // namespace content |
| 717 | 718 |
| 718 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 719 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |