| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 struct ViewMsg_Navigate_Params; | 45 struct ViewMsg_Navigate_Params; |
| 46 struct ViewMsg_StopFinding_Params; | 46 struct ViewMsg_StopFinding_Params; |
| 47 struct WebDropData; | 47 struct WebDropData; |
| 48 struct WebPreferences; | 48 struct WebPreferences; |
| 49 | 49 |
| 50 namespace base { | 50 namespace base { |
| 51 class ListValue; | 51 class ListValue; |
| 52 } | 52 } |
| 53 | 53 |
| 54 namespace content { | 54 namespace content { |
| 55 struct FileChooserParams; |
| 56 struct Referrer; |
| 55 class RenderViewHostObserver; | 57 class RenderViewHostObserver; |
| 56 struct FileChooserParams; | |
| 57 struct ShowDesktopNotificationHostMsgParams; | 58 struct ShowDesktopNotificationHostMsgParams; |
| 58 } | 59 } |
| 59 | 60 |
| 60 namespace gfx { | 61 namespace gfx { |
| 61 class Point; | 62 class Point; |
| 62 } // namespace gfx | 63 } // namespace gfx |
| 63 | 64 |
| 64 namespace ui { | 65 namespace ui { |
| 65 class Range; | 66 class Range; |
| 66 } // namespace ui | 67 } // namespace ui |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 void OnMsgClose(); | 522 void OnMsgClose(); |
| 522 void OnMsgRequestMove(const gfx::Rect& pos); | 523 void OnMsgRequestMove(const gfx::Rect& pos); |
| 523 void OnMsgDidStartLoading(); | 524 void OnMsgDidStartLoading(); |
| 524 void OnMsgDidStopLoading(); | 525 void OnMsgDidStopLoading(); |
| 525 void OnMsgDidChangeLoadProgress(double load_progress); | 526 void OnMsgDidChangeLoadProgress(double load_progress); |
| 526 void OnMsgDocumentAvailableInMainFrame(); | 527 void OnMsgDocumentAvailableInMainFrame(); |
| 527 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); | 528 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); |
| 528 void OnMsgContextMenu(const ContextMenuParams& params); | 529 void OnMsgContextMenu(const ContextMenuParams& params); |
| 529 void OnMsgToggleFullscreen(bool enter_fullscreen); | 530 void OnMsgToggleFullscreen(bool enter_fullscreen); |
| 530 void OnMsgOpenURL(const GURL& url, | 531 void OnMsgOpenURL(const GURL& url, |
| 531 const GURL& referrer, | 532 const content::Referrer& referrer, |
| 532 WindowOpenDisposition disposition, | 533 WindowOpenDisposition disposition, |
| 533 int64 source_frame_id); | 534 int64 source_frame_id); |
| 534 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); | 535 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); |
| 535 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, | 536 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, |
| 536 bool has_vertical_scrollbar); | 537 bool has_vertical_scrollbar); |
| 537 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | 538 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, |
| 538 bool is_pinned_to_right); | 539 bool is_pinned_to_right); |
| 539 void OnMsgDidChangeNumWheelEvents(int count); | 540 void OnMsgDidChangeNumWheelEvents(int count); |
| 540 void OnMsgSelectionChanged(const string16& text, | 541 void OnMsgSelectionChanged(const string16& text, |
| 541 size_t offset, | 542 size_t offset, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; | 676 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; |
| 676 PowerSaveBlockerMap power_save_blockers_; | 677 PowerSaveBlockerMap power_save_blockers_; |
| 677 | 678 |
| 678 // A list of observers that filter messages. Weak references. | 679 // A list of observers that filter messages. Weak references. |
| 679 ObserverList<content::RenderViewHostObserver> observers_; | 680 ObserverList<content::RenderViewHostObserver> observers_; |
| 680 | 681 |
| 681 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 682 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 682 }; | 683 }; |
| 683 | 684 |
| 684 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 685 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |