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 string16& title, | 531 void OnMsgUpdateTitle(int32 page_id, const std::wstring& title); |
532 WebKit::WebTextDirection title_direction); | |
533 void OnMsgUpdateEncoding(const std::string& encoding); | 532 void OnMsgUpdateEncoding(const std::string& encoding); |
534 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); | 533 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); |
535 void OnMsgScreenshot(const SkBitmap& bitmap); | 534 void OnMsgScreenshot(const SkBitmap& bitmap); |
536 void OnMsgClose(); | 535 void OnMsgClose(); |
537 void OnMsgRequestMove(const gfx::Rect& pos); | 536 void OnMsgRequestMove(const gfx::Rect& pos); |
538 void OnMsgDidStartLoading(); | 537 void OnMsgDidStartLoading(); |
539 void OnMsgDidStopLoading(); | 538 void OnMsgDidStopLoading(); |
540 void OnMsgDidChangeLoadProgress(double load_progress); | 539 void OnMsgDidChangeLoadProgress(double load_progress); |
541 void OnMsgDocumentAvailableInMainFrame(); | 540 void OnMsgDocumentAvailableInMainFrame(); |
542 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); | 541 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 // The enabled/disabled states of various commands. | 688 // The enabled/disabled states of various commands. |
690 std::map<RenderViewCommand, CommandState> command_states_; | 689 std::map<RenderViewCommand, CommandState> command_states_; |
691 | 690 |
692 // A list of observers that filter messages. Weak references. | 691 // A list of observers that filter messages. Weak references. |
693 ObserverList<RenderViewHostObserver> observers_; | 692 ObserverList<RenderViewHostObserver> observers_; |
694 | 693 |
695 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 694 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
696 }; | 695 }; |
697 | 696 |
698 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 697 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |