| 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 void OnMsgUpdateEncoding(const std::string& encoding); | 421 void OnMsgUpdateEncoding(const std::string& encoding); |
| 422 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); | 422 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); |
| 423 void OnMsgClose(); | 423 void OnMsgClose(); |
| 424 void OnMsgRequestMove(const gfx::Rect& pos); | 424 void OnMsgRequestMove(const gfx::Rect& pos); |
| 425 void OnMsgDidStartLoading(); | 425 void OnMsgDidStartLoading(); |
| 426 void OnMsgDidStopLoading(); | 426 void OnMsgDidStopLoading(); |
| 427 void OnMsgDidChangeLoadProgress(double load_progress); | 427 void OnMsgDidChangeLoadProgress(double load_progress); |
| 428 void OnMsgDocumentAvailableInMainFrame(); | 428 void OnMsgDocumentAvailableInMainFrame(); |
| 429 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); | 429 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); |
| 430 void OnMsgContextMenu(const ContextMenuParams& params); | 430 void OnMsgContextMenu(const ContextMenuParams& params); |
| 431 void OnMsgToggleFullscreen(bool enter_fullscreen); |
| 431 void OnMsgOpenURL(const GURL& url, const GURL& referrer, | 432 void OnMsgOpenURL(const GURL& url, const GURL& referrer, |
| 432 WindowOpenDisposition disposition); | 433 WindowOpenDisposition disposition); |
| 433 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); | 434 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); |
| 434 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, | 435 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, |
| 435 bool has_vertical_scrollbar); | 436 bool has_vertical_scrollbar); |
| 436 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | 437 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, |
| 437 bool is_pinned_to_right); | 438 bool is_pinned_to_right); |
| 438 void OnMsgDidChangeNumWheelEvents(int count); | 439 void OnMsgDidChangeNumWheelEvents(int count); |
| 439 void OnMsgSelectionChanged(const std::string& text, const ui::Range& range, | 440 void OnMsgSelectionChanged(const std::string& text, const ui::Range& range, |
| 440 const gfx::Point& start, const gfx::Point& end); | 441 const gfx::Point& start, const gfx::Point& end); |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 // The termination status of the last render view that terminated. | 559 // The termination status of the last render view that terminated. |
| 559 base::TerminationStatus render_view_termination_status_; | 560 base::TerminationStatus render_view_termination_status_; |
| 560 | 561 |
| 561 // A list of observers that filter messages. Weak references. | 562 // A list of observers that filter messages. Weak references. |
| 562 ObserverList<RenderViewHostObserver> observers_; | 563 ObserverList<RenderViewHostObserver> observers_; |
| 563 | 564 |
| 564 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 565 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 565 }; | 566 }; |
| 566 | 567 |
| 567 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 568 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |