OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 | 510 |
511 // IPC message handlers. | 511 // IPC message handlers. |
512 void OnMsgShowView(int route_id, | 512 void OnMsgShowView(int route_id, |
513 WindowOpenDisposition disposition, | 513 WindowOpenDisposition disposition, |
514 const gfx::Rect& initial_pos, | 514 const gfx::Rect& initial_pos, |
515 bool user_gesture); | 515 bool user_gesture); |
516 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); | 516 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); |
517 void OnMsgShowFullscreenWidget(int route_id); | 517 void OnMsgShowFullscreenWidget(int route_id); |
518 void OnMsgRunModal(IPC::Message* reply_msg); | 518 void OnMsgRunModal(IPC::Message* reply_msg); |
519 void OnMsgRenderViewReady(); | 519 void OnMsgRenderViewReady(); |
520 void OnMsgRenderViewGone(); | 520 void OnMsgRenderViewGone(int status, int error_code); |
521 void OnMsgNavigate(const IPC::Message& msg); | 521 void OnMsgNavigate(const IPC::Message& msg); |
522 void OnMsgUpdateState(int32 page_id, | 522 void OnMsgUpdateState(int32 page_id, |
523 const std::string& state); | 523 const std::string& state); |
524 void OnMsgUpdateTitle(int32 page_id, const std::wstring& title); | 524 void OnMsgUpdateTitle(int32 page_id, const std::wstring& title); |
525 void OnMsgUpdateEncoding(const std::string& encoding); | 525 void OnMsgUpdateEncoding(const std::string& encoding); |
526 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); | 526 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); |
527 void OnMsgThumbnail(const GURL& url, | 527 void OnMsgThumbnail(const GURL& url, |
528 const ThumbnailScore& score, | 528 const ThumbnailScore& score, |
529 const SkBitmap& bitmap); | 529 const SkBitmap& bitmap); |
530 void OnMsgScreenshot(const SkBitmap& bitmap); | 530 void OnMsgScreenshot(const SkBitmap& bitmap); |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 // Whether the accessibility tree should be saved, for unit testing. | 763 // Whether the accessibility tree should be saved, for unit testing. |
764 bool save_accessibility_tree_for_testing_; | 764 bool save_accessibility_tree_for_testing_; |
765 | 765 |
766 // The most recently received accessibility tree - for unit testing only. | 766 // The most recently received accessibility tree - for unit testing only. |
767 webkit_glue::WebAccessibility accessibility_tree_; | 767 webkit_glue::WebAccessibility accessibility_tree_; |
768 | 768 |
769 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 769 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
770 }; | 770 }; |
771 | 771 |
772 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 772 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |