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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 void OnMsgUpdateEncoding(const std::string& encoding); | 416 void OnMsgUpdateEncoding(const std::string& encoding); |
417 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); | 417 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); |
418 void OnMsgClose(); | 418 void OnMsgClose(); |
419 void OnMsgRequestMove(const gfx::Rect& pos); | 419 void OnMsgRequestMove(const gfx::Rect& pos); |
420 void OnMsgDidStartLoading(); | 420 void OnMsgDidStartLoading(); |
421 void OnMsgDidStopLoading(); | 421 void OnMsgDidStopLoading(); |
422 void OnMsgDidChangeLoadProgress(double load_progress); | 422 void OnMsgDidChangeLoadProgress(double load_progress); |
423 void OnMsgDocumentAvailableInMainFrame(); | 423 void OnMsgDocumentAvailableInMainFrame(); |
424 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); | 424 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); |
425 void OnMsgContextMenu(const ContextMenuParams& params); | 425 void OnMsgContextMenu(const ContextMenuParams& params); |
| 426 void OnMsgToggleFullscreen(bool enter_fullscreen); |
426 void OnMsgOpenURL(const GURL& url, const GURL& referrer, | 427 void OnMsgOpenURL(const GURL& url, const GURL& referrer, |
427 WindowOpenDisposition disposition); | 428 WindowOpenDisposition disposition); |
428 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); | 429 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); |
429 void OnMsgSelectionChanged(const std::string& text, const ui::Range& range); | 430 void OnMsgSelectionChanged(const std::string& text, const ui::Range& range); |
430 void OnMsgPasteFromSelectionClipboard(); | 431 void OnMsgPasteFromSelectionClipboard(); |
431 void OnMsgRunJavaScriptMessage(const string16& message, | 432 void OnMsgRunJavaScriptMessage(const string16& message, |
432 const string16& default_prompt, | 433 const string16& default_prompt, |
433 const GURL& frame_url, | 434 const GURL& frame_url, |
434 const int flags, | 435 const int flags, |
435 IPC::Message* reply_msg); | 436 IPC::Message* reply_msg); |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 // The termination status of the last render view that terminated. | 546 // The termination status of the last render view that terminated. |
546 base::TerminationStatus render_view_termination_status_; | 547 base::TerminationStatus render_view_termination_status_; |
547 | 548 |
548 // A list of observers that filter messages. Weak references. | 549 // A list of observers that filter messages. Weak references. |
549 ObserverList<RenderViewHostObserver> observers_; | 550 ObserverList<RenderViewHostObserver> observers_; |
550 | 551 |
551 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 552 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
552 }; | 553 }; |
553 | 554 |
554 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 555 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |