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