| 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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 // IPC message handlers. | 502 // IPC message handlers. |
| 503 void OnShowView(int route_id, | 503 void OnShowView(int route_id, |
| 504 WindowOpenDisposition disposition, | 504 WindowOpenDisposition disposition, |
| 505 const gfx::Rect& initial_pos, | 505 const gfx::Rect& initial_pos, |
| 506 bool user_gesture); | 506 bool user_gesture); |
| 507 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); | 507 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); |
| 508 void OnShowFullscreenWidget(int route_id); | 508 void OnShowFullscreenWidget(int route_id); |
| 509 void OnRunModal(int opener_id, IPC::Message* reply_msg); | 509 void OnRunModal(int opener_id, IPC::Message* reply_msg); |
| 510 void OnRenderViewReady(); | 510 void OnRenderViewReady(); |
| 511 void OnRenderProcessGone(int status, int error_code); | 511 void OnRenderProcessGone(int status, int error_code); |
| 512 void OnDidRedirectProvisionalLoad(int32 page_id, | |
| 513 const GURL& source_url, | |
| 514 const GURL& target_url); | |
| 515 void OnNavigate(const IPC::Message& msg); | 512 void OnNavigate(const IPC::Message& msg); |
| 516 void OnUpdateState(int32 page_id, const PageState& state); | 513 void OnUpdateState(int32 page_id, const PageState& state); |
| 517 void OnUpdateTitle(int32 page_id, | 514 void OnUpdateTitle(int32 page_id, |
| 518 const base::string16& title, | 515 const base::string16& title, |
| 519 blink::WebTextDirection title_direction); | 516 blink::WebTextDirection title_direction); |
| 520 void OnUpdateEncoding(const std::string& encoding); | 517 void OnUpdateEncoding(const std::string& encoding); |
| 521 void OnUpdateTargetURL(int32 page_id, const GURL& url); | 518 void OnUpdateTargetURL(int32 page_id, const GURL& url); |
| 522 void OnClose(); | 519 void OnClose(); |
| 523 void OnRequestMove(const gfx::Rect& pos); | 520 void OnRequestMove(const gfx::Rect& pos); |
| 524 void OnDidStartLoading(); | 521 void OnDidStartLoading(); |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 710 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 714 }; | 711 }; |
| 715 | 712 |
| 716 #if defined(COMPILER_MSVC) | 713 #if defined(COMPILER_MSVC) |
| 717 #pragma warning(pop) | 714 #pragma warning(pop) |
| 718 #endif | 715 #endif |
| 719 | 716 |
| 720 } // namespace content | 717 } // namespace content |
| 721 | 718 |
| 722 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 719 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |