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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 const gfx::Rect& initial_pos, | 521 const gfx::Rect& initial_pos, |
522 bool user_gesture); | 522 bool user_gesture); |
523 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); | 523 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); |
524 void OnMsgShowFullscreenWidget(int route_id); | 524 void OnMsgShowFullscreenWidget(int route_id); |
525 void OnMsgRunModal(IPC::Message* reply_msg); | 525 void OnMsgRunModal(IPC::Message* reply_msg); |
526 void OnMsgRenderViewReady(); | 526 void OnMsgRenderViewReady(); |
527 void OnMsgRenderViewGone(int status, int error_code); | 527 void OnMsgRenderViewGone(int status, int error_code); |
528 void OnMsgNavigate(const IPC::Message& msg); | 528 void OnMsgNavigate(const IPC::Message& msg); |
529 void OnMsgUpdateState(int32 page_id, | 529 void OnMsgUpdateState(int32 page_id, |
530 const std::string& state); | 530 const std::string& state); |
531 void OnMsgUpdateTitle(int32 page_id, const std::wstring& title); | 531 void OnMsgUpdateTitle(int32 page_id, const string16& title, |
| 532 WebKit::WebTextDirection title_direction); |
532 void OnMsgUpdateEncoding(const std::string& encoding); | 533 void OnMsgUpdateEncoding(const std::string& encoding); |
533 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); | 534 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); |
534 void OnMsgScreenshot(const SkBitmap& bitmap); | 535 void OnMsgScreenshot(const SkBitmap& bitmap); |
535 void OnMsgClose(); | 536 void OnMsgClose(); |
536 void OnMsgRequestMove(const gfx::Rect& pos); | 537 void OnMsgRequestMove(const gfx::Rect& pos); |
537 void OnMsgDidStartLoading(); | 538 void OnMsgDidStartLoading(); |
538 void OnMsgDidStopLoading(); | 539 void OnMsgDidStopLoading(); |
539 void OnMsgDidChangeLoadProgress(double load_progress); | 540 void OnMsgDidChangeLoadProgress(double load_progress); |
540 void OnMsgDocumentAvailableInMainFrame(); | 541 void OnMsgDocumentAvailableInMainFrame(); |
541 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); | 542 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
688 // The enabled/disabled states of various commands. | 689 // The enabled/disabled states of various commands. |
689 std::map<RenderViewCommand, CommandState> command_states_; | 690 std::map<RenderViewCommand, CommandState> command_states_; |
690 | 691 |
691 // A list of observers that filter messages. Weak references. | 692 // A list of observers that filter messages. Weak references. |
692 ObserverList<RenderViewHostObserver> observers_; | 693 ObserverList<RenderViewHostObserver> observers_; |
693 | 694 |
694 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 695 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
695 }; | 696 }; |
696 | 697 |
697 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 698 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |