Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 6330007: Don't use GetAsTabContents. Send notifications from TabContentsView instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 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 22 matching lines...) Expand all
33 class RenderViewHostDelegate; 33 class RenderViewHostDelegate;
34 class SessionStorageNamespace; 34 class SessionStorageNamespace;
35 class SiteInstance; 35 class SiteInstance;
36 class SkBitmap; 36 class SkBitmap;
37 class ViewMsg_Navigate; 37 class ViewMsg_Navigate;
38 struct ContentSettings; 38 struct ContentSettings;
39 struct ContextMenuParams; 39 struct ContextMenuParams;
40 struct MediaPlayerAction; 40 struct MediaPlayerAction;
41 struct ThumbnailScore; 41 struct ThumbnailScore;
42 struct ViewHostMsg_AccessibilityNotification_Params; 42 struct ViewHostMsg_AccessibilityNotification_Params;
43 struct ViewHostMsg_CreateWindow_Params;
43 struct ViewHostMsg_DidPreviewDocument_Params; 44 struct ViewHostMsg_DidPreviewDocument_Params;
44 struct ViewHostMsg_DidPrintPage_Params; 45 struct ViewHostMsg_DidPrintPage_Params;
45 struct ViewHostMsg_DomMessage_Params; 46 struct ViewHostMsg_DomMessage_Params;
46 struct ViewHostMsg_PageHasOSDD_Type; 47 struct ViewHostMsg_PageHasOSDD_Type;
47 struct ViewHostMsg_RunFileChooser_Params; 48 struct ViewHostMsg_RunFileChooser_Params;
48 struct ViewHostMsg_ShowNotification_Params; 49 struct ViewHostMsg_ShowNotification_Params;
49 struct ViewHostMsg_ShowPopup_Params; 50 struct ViewHostMsg_ShowPopup_Params;
50 struct ViewMsg_Navigate_Params; 51 struct ViewMsg_Navigate_Params;
51 struct WebApplicationInfo; 52 struct WebApplicationInfo;
52 struct WebDropData; 53 struct WebDropData;
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); 443 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event);
443 virtual void OnMouseActivate(); 444 virtual void OnMouseActivate();
444 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); 445 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event);
445 virtual void ForwardEditCommand(const std::string& name, 446 virtual void ForwardEditCommand(const std::string& name,
446 const std::string& value); 447 const std::string& value);
447 virtual void ForwardEditCommandsForNextKeyEvent( 448 virtual void ForwardEditCommandsForNextKeyEvent(
448 const EditCommands& edit_commands); 449 const EditCommands& edit_commands);
449 450
450 // Creates a new RenderView with the given route id. 451 // Creates a new RenderView with the given route id.
451 void CreateNewWindow(int route_id, 452 void CreateNewWindow(int route_id,
452 WindowContainerType window_container_type, 453 const ViewHostMsg_CreateWindow_Params& params);
453 const string16& frame_name);
454 454
455 // Creates a new RenderWidget with the given route id. |popup_type| indicates 455 // Creates a new RenderWidget with the given route id. |popup_type| indicates
456 // if this widget is a popup and what kind of popup it is (select, autofill). 456 // if this widget is a popup and what kind of popup it is (select, autofill).
457 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); 457 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type);
458 458
459 // Creates a full screen RenderWidget. 459 // Creates a full screen RenderWidget.
460 void CreateNewFullscreenWidget(int route_id, WebKit::WebPopupType popup_type); 460 void CreateNewFullscreenWidget(int route_id, WebKit::WebPopupType popup_type);
461 461
462 // Sends the response to an extension api call. 462 // Sends the response to an extension api call.
463 void SendExtensionResponse(int request_id, bool success, 463 void SendExtensionResponse(int request_id, bool success,
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 // The most recently received accessibility tree - for unit testing only. 746 // The most recently received accessibility tree - for unit testing only.
747 webkit_glue::WebAccessibility accessibility_tree_; 747 webkit_glue::WebAccessibility accessibility_tree_;
748 748
749 // The termination status of the last render view that terminated. 749 // The termination status of the last render view that terminated.
750 base::TerminationStatus render_view_termination_status_; 750 base::TerminationStatus render_view_termination_status_;
751 751
752 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 752 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
753 }; 753 };
754 754
755 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 755 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698