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

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

Issue 6462017: gtk: Improve fullscreen RenderWidgetHostViewGtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update a comment Created 9 years, 10 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_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 #include <vector> 10 #include <vector>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 const NotificationSource& source, 66 const NotificationSource& source,
67 const NotificationDetails& details); 67 const NotificationDetails& details);
68 68
69 69
70 // RenderViewHostDelegate::View methods. Only the ones for opening new 70 // RenderViewHostDelegate::View methods. Only the ones for opening new
71 // windows are currently implemented. 71 // windows are currently implemented.
72 virtual void CreateNewWindow( 72 virtual void CreateNewWindow(
73 int route_id, 73 int route_id,
74 const ViewHostMsg_CreateWindow_Params& params); 74 const ViewHostMsg_CreateWindow_Params& params);
75 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type) {} 75 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type) {}
76 virtual void CreateNewFullscreenWidget( 76 virtual void CreateNewFullscreenWidget(int route_id) {}
77 int route_id, WebKit::WebPopupType popup_type) {}
78 virtual void ShowCreatedWindow(int route_id, 77 virtual void ShowCreatedWindow(int route_id,
79 WindowOpenDisposition disposition, 78 WindowOpenDisposition disposition,
80 const gfx::Rect& initial_pos, 79 const gfx::Rect& initial_pos,
81 bool user_gesture); 80 bool user_gesture);
82 virtual void ShowCreatedWidget(int route_id, 81 virtual void ShowCreatedWidget(int route_id,
83 const gfx::Rect& initial_pos) {} 82 const gfx::Rect& initial_pos) {}
84 virtual void ShowCreatedFullscreenWidget(int route_id) {} 83 virtual void ShowCreatedFullscreenWidget(int route_id) {}
85 virtual void ShowContextMenu(const ContextMenuParams& params) {} 84 virtual void ShowContextMenu(const ContextMenuParams& params) {}
86 virtual void ShowPopupMenu(const gfx::Rect& bounds, 85 virtual void ShowPopupMenu(const gfx::Rect& bounds,
87 int item_height, 86 int item_height,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // rendering a page from an extension. 153 // rendering a page from an extension.
155 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 154 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
156 155
157 // A flag to enable Web UI. 156 // A flag to enable Web UI.
158 bool enable_dom_ui_; 157 bool enable_dom_ui_;
159 158
160 NotificationRegistrar registrar_; 159 NotificationRegistrar registrar_;
161 }; 160 };
162 161
163 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 162 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698