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

Side by Side Diff: chrome/browser/notifications/balloon_host.h

Issue 2775003: Added plumbing to transport the frame name between RenderViewHost and the Webkit layer. (Closed)
Patch Set: Final version for the record Created 10 years, 6 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
OLDNEW
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_NOTIFICATIONS_BALLOON_HOST_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/extensions/extension_function_dispatcher.h" 10 #include "chrome/browser/extensions/extension_function_dispatcher.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual void ProcessDOMUIMessage(const std::string& message, 76 virtual void ProcessDOMUIMessage(const std::string& message,
77 const ListValue* content, 77 const ListValue* content,
78 const GURL& source_url, 78 const GURL& source_url,
79 int request_id, 79 int request_id,
80 bool has_callback); 80 bool has_callback);
81 81
82 // RenderViewHostDelegate::View methods. Only the ones for opening new 82 // RenderViewHostDelegate::View methods. Only the ones for opening new
83 // windows are currently implemented. 83 // windows are currently implemented.
84 virtual void CreateNewWindow( 84 virtual void CreateNewWindow(
85 int route_id, 85 int route_id,
86 WindowContainerType window_container_type); 86 WindowContainerType window_container_type,
87 const string16& frame_name);
87 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type) {} 88 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type) {}
88 virtual void ShowCreatedWindow(int route_id, 89 virtual void ShowCreatedWindow(int route_id,
89 WindowOpenDisposition disposition, 90 WindowOpenDisposition disposition,
90 const gfx::Rect& initial_pos, 91 const gfx::Rect& initial_pos,
91 bool user_gesture); 92 bool user_gesture);
92 virtual void ShowCreatedWidget(int route_id, 93 virtual void ShowCreatedWidget(int route_id,
93 const gfx::Rect& initial_pos) {} 94 const gfx::Rect& initial_pos) {}
94 virtual void ShowContextMenu(const ContextMenuParams& params) {} 95 virtual void ShowContextMenu(const ContextMenuParams& params) {}
95 virtual void StartDragging(const WebDropData& drop_data, 96 virtual void StartDragging(const WebDropData& drop_data,
96 WebKit::WebDragOperationsMask allowed_ops) {} 97 WebKit::WebDragOperationsMask allowed_ops) {}
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 141
141 // Common implementations of some RenderViewHostDelegate::View methods. 142 // Common implementations of some RenderViewHostDelegate::View methods.
142 RenderViewHostDelegateViewHelper delegate_view_helper_; 143 RenderViewHostDelegateViewHelper delegate_view_helper_;
143 144
144 // Handles requests to extension APIs. Will only be non-NULL if we are 145 // Handles requests to extension APIs. Will only be non-NULL if we are
145 // rendering a page from an extension. 146 // rendering a page from an extension.
146 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 147 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
147 }; 148 };
148 149
149 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 150 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/notifications/balloon_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698