OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "third_party/WebKit/public/web/WebTextDirection.h" | 29 #include "third_party/WebKit/public/web/WebTextDirection.h" |
30 #include "third_party/skia/include/core/SkColor.h" | 30 #include "third_party/skia/include/core/SkColor.h" |
31 #include "ui/base/window_open_disposition.h" | 31 #include "ui/base/window_open_disposition.h" |
32 | 32 |
33 class SkBitmap; | 33 class SkBitmap; |
34 class ViewMsg_Navigate; | 34 class ViewMsg_Navigate; |
35 struct AccessibilityHostMsg_EventParams; | 35 struct AccessibilityHostMsg_EventParams; |
36 struct AccessibilityHostMsg_LocationChangeParams; | 36 struct AccessibilityHostMsg_LocationChangeParams; |
37 struct MediaPlayerAction; | 37 struct MediaPlayerAction; |
38 struct ViewHostMsg_CreateWindow_Params; | 38 struct ViewHostMsg_CreateWindow_Params; |
39 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; | |
40 struct ViewHostMsg_OpenURL_Params; | 39 struct ViewHostMsg_OpenURL_Params; |
41 struct ViewHostMsg_SelectionBounds_Params; | 40 struct ViewHostMsg_SelectionBounds_Params; |
42 struct ViewHostMsg_ShowPopup_Params; | 41 struct ViewHostMsg_ShowPopup_Params; |
43 struct ViewMsg_Navigate_Params; | 42 struct ViewMsg_Navigate_Params; |
44 struct ViewMsg_PostMessage_Params; | 43 struct ViewMsg_PostMessage_Params; |
45 struct ViewMsg_StopFinding_Params; | 44 struct ViewMsg_StopFinding_Params; |
46 | 45 |
47 namespace base { | 46 namespace base { |
48 class ListValue; | 47 class ListValue; |
49 } | 48 } |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 const gfx::Rect& initial_pos, | 507 const gfx::Rect& initial_pos, |
509 bool user_gesture); | 508 bool user_gesture); |
510 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); | 509 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); |
511 void OnShowFullscreenWidget(int route_id); | 510 void OnShowFullscreenWidget(int route_id); |
512 void OnRunModal(int opener_id, IPC::Message* reply_msg); | 511 void OnRunModal(int opener_id, IPC::Message* reply_msg); |
513 void OnRenderViewReady(); | 512 void OnRenderViewReady(); |
514 void OnRenderProcessGone(int status, int error_code); | 513 void OnRenderProcessGone(int status, int error_code); |
515 void OnDidRedirectProvisionalLoad(int32 page_id, | 514 void OnDidRedirectProvisionalLoad(int32 page_id, |
516 const GURL& source_url, | 515 const GURL& source_url, |
517 const GURL& target_url); | 516 const GURL& target_url); |
518 void OnDidFailProvisionalLoadWithError( | |
519 const ViewHostMsg_DidFailProvisionalLoadWithError_Params& params); | |
520 void OnNavigate(const IPC::Message& msg); | 517 void OnNavigate(const IPC::Message& msg); |
521 void OnUpdateState(int32 page_id, const PageState& state); | 518 void OnUpdateState(int32 page_id, const PageState& state); |
522 void OnUpdateTitle(int32 page_id, | 519 void OnUpdateTitle(int32 page_id, |
523 const base::string16& title, | 520 const base::string16& title, |
524 blink::WebTextDirection title_direction); | 521 blink::WebTextDirection title_direction); |
525 void OnUpdateEncoding(const std::string& encoding); | 522 void OnUpdateEncoding(const std::string& encoding); |
526 void OnUpdateTargetURL(int32 page_id, const GURL& url); | 523 void OnUpdateTargetURL(int32 page_id, const GURL& url); |
527 void OnClose(); | 524 void OnClose(); |
528 void OnRequestMove(const gfx::Rect& pos); | 525 void OnRequestMove(const gfx::Rect& pos); |
529 void OnDidStartLoading(); | 526 void OnDidStartLoading(); |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 715 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
719 }; | 716 }; |
720 | 717 |
721 #if defined(COMPILER_MSVC) | 718 #if defined(COMPILER_MSVC) |
722 #pragma warning(pop) | 719 #pragma warning(pop) |
723 #endif | 720 #endif |
724 | 721 |
725 } // namespace content | 722 } // namespace content |
726 | 723 |
727 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 724 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |