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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 const gfx::Rect& initial_pos, | 405 const gfx::Rect& initial_pos, |
406 bool user_gesture); | 406 bool user_gesture); |
407 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); | 407 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); |
408 void OnMsgShowFullscreenWidget(int route_id); | 408 void OnMsgShowFullscreenWidget(int route_id); |
409 void OnMsgRunModal(IPC::Message* reply_msg); | 409 void OnMsgRunModal(IPC::Message* reply_msg); |
410 void OnMsgRenderViewReady(); | 410 void OnMsgRenderViewReady(); |
411 void OnMsgRenderViewGone(int status, int error_code); | 411 void OnMsgRenderViewGone(int status, int error_code); |
412 void OnMsgNavigate(const IPC::Message& msg); | 412 void OnMsgNavigate(const IPC::Message& msg); |
413 void OnMsgUpdateState(int32 page_id, | 413 void OnMsgUpdateState(int32 page_id, |
414 const std::string& state); | 414 const std::string& state); |
415 void OnMsgUpdateTitle(int32 page_id, const string16& title, | 415 void OnMsgUpdateTitle(int32 page_id, |
| 416 const string16& title, |
416 WebKit::WebTextDirection title_direction); | 417 WebKit::WebTextDirection title_direction); |
417 void OnMsgUpdateEncoding(const std::string& encoding); | 418 void OnMsgUpdateEncoding(const std::string& encoding); |
418 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); | 419 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); |
419 void OnMsgClose(); | 420 void OnMsgClose(); |
420 void OnMsgRequestMove(const gfx::Rect& pos); | 421 void OnMsgRequestMove(const gfx::Rect& pos); |
421 void OnMsgDidStartLoading(); | 422 void OnMsgDidStartLoading(); |
422 void OnMsgDidStopLoading(); | 423 void OnMsgDidStopLoading(); |
423 void OnMsgDidChangeLoadProgress(double load_progress); | 424 void OnMsgDidChangeLoadProgress(double load_progress); |
424 void OnMsgDocumentAvailableInMainFrame(); | 425 void OnMsgDocumentAvailableInMainFrame(); |
425 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); | 426 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 // The termination status of the last render view that terminated. | 547 // The termination status of the last render view that terminated. |
547 base::TerminationStatus render_view_termination_status_; | 548 base::TerminationStatus render_view_termination_status_; |
548 | 549 |
549 // A list of observers that filter messages. Weak references. | 550 // A list of observers that filter messages. Weak references. |
550 ObserverList<RenderViewHostObserver> observers_; | 551 ObserverList<RenderViewHostObserver> observers_; |
551 | 552 |
552 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 553 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
553 }; | 554 }; |
554 | 555 |
555 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 556 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |