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

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

Issue 3055009: Use RenderWidget(Host) for full screen (Closed)
Patch Set: Add IPC::SyncMessage dependency. Fix auto complete. Created 10 years, 4 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 int request_id, 80 int request_id,
81 bool has_callback); 81 bool has_callback);
82 82
83 // RenderViewHostDelegate::View methods. Only the ones for opening new 83 // RenderViewHostDelegate::View methods. Only the ones for opening new
84 // windows are currently implemented. 84 // windows are currently implemented.
85 virtual void CreateNewWindow( 85 virtual void CreateNewWindow(
86 int route_id, 86 int route_id,
87 WindowContainerType window_container_type, 87 WindowContainerType window_container_type,
88 const string16& frame_name); 88 const string16& frame_name);
89 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type) {} 89 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type) {}
90 virtual void CreateNewFullscreenWidget(
91 int route_id, WebKit::WebPopupType popup_type) {}
90 virtual void ShowCreatedWindow(int route_id, 92 virtual void ShowCreatedWindow(int route_id,
91 WindowOpenDisposition disposition, 93 WindowOpenDisposition disposition,
92 const gfx::Rect& initial_pos, 94 const gfx::Rect& initial_pos,
93 bool user_gesture); 95 bool user_gesture);
94 virtual void ShowCreatedWidget(int route_id, 96 virtual void ShowCreatedWidget(int route_id,
95 const gfx::Rect& initial_pos) {} 97 const gfx::Rect& initial_pos) {}
98 virtual void ShowCreatedFullscreenWidget(int route_id) {}
96 virtual void ShowContextMenu(const ContextMenuParams& params) {} 99 virtual void ShowContextMenu(const ContextMenuParams& params) {}
97 virtual void StartDragging(const WebDropData& drop_data, 100 virtual void StartDragging(const WebDropData& drop_data,
98 WebKit::WebDragOperationsMask allowed_ops) {} 101 WebKit::WebDragOperationsMask allowed_ops) {}
99 virtual void StartDragging(const WebDropData&, 102 virtual void StartDragging(const WebDropData&,
100 WebKit::WebDragOperationsMask, 103 WebKit::WebDragOperationsMask,
101 const SkBitmap&, 104 const SkBitmap&,
102 const gfx::Point&) {} 105 const gfx::Point&) {}
103 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} 106 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {}
104 virtual void GotFocus() {} 107 virtual void GotFocus() {}
105 virtual void TakeFocus(bool reverse) {} 108 virtual void TakeFocus(bool reverse) {}
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 149
147 // Common implementations of some RenderViewHostDelegate::View methods. 150 // Common implementations of some RenderViewHostDelegate::View methods.
148 RenderViewHostDelegateViewHelper delegate_view_helper_; 151 RenderViewHostDelegateViewHelper delegate_view_helper_;
149 152
150 // Handles requests to extension APIs. Will only be non-NULL if we are 153 // Handles requests to extension APIs. Will only be non-NULL if we are
151 // rendering a page from an extension. 154 // rendering a page from an extension.
152 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 155 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
153 }; 156 };
154 157
155 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 158 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698