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

Side by Side Diff: chrome/browser/chromeos/app_launcher.h

Issue 1037008: Retry r41799:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_launcher.cc » ('j') | chrome/renderer/render_view.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CHROMEOS_APP_LAUNCHER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_LAUNCHER_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_LAUNCHER_H_ 6 #define CHROME_BROWSER_CHROMEOS_APP_LAUNCHER_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "app/active_window_watcher_x.h" 10 #include "app/active_window_watcher_x.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "base/task.h" 12 #include "base/task.h"
13 #include "chrome/browser/renderer_host/render_view_host_delegate.h" 13 #include "chrome/browser/renderer_host/render_view_host_delegate.h"
14 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" 14 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h"
15 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 15 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
16 #include "chrome/common/renderer_preferences.h" 16 #include "chrome/common/renderer_preferences.h"
17 #include "views/view.h" 17 #include "views/view.h"
18 18
19 class Browser; 19 class Browser;
20 class RenderWidgetHostViewGtk; 20 class RenderWidgetHostViewGtk;
21 class SiteInstance; 21 class SiteInstance;
22 class SkBitmap;
22 23
23 namespace gfx { 24 namespace gfx {
25 class Point;
24 class Size; 26 class Size;
25 } 27 }
26 namespace views { 28 namespace views {
27 class NativeViewHost; 29 class NativeViewHost;
28 class View; 30 class View;
29 class WidgetGtk; 31 class WidgetGtk;
30 } 32 }
31 33
32 namespace chromeos { 34 namespace chromeos {
33 35
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 virtual void CreateNewWindow(int route_id); 163 virtual void CreateNewWindow(int route_id);
162 virtual void CreateNewWidget(int route_id, bool activatable) {} 164 virtual void CreateNewWidget(int route_id, bool activatable) {}
163 virtual void ShowCreatedWindow(int route_id, 165 virtual void ShowCreatedWindow(int route_id,
164 WindowOpenDisposition disposition, 166 WindowOpenDisposition disposition,
165 const gfx::Rect& initial_pos, 167 const gfx::Rect& initial_pos,
166 bool user_gesture); 168 bool user_gesture);
167 virtual void ShowCreatedWidget(int route_id, 169 virtual void ShowCreatedWidget(int route_id,
168 const gfx::Rect& initial_pos) {} 170 const gfx::Rect& initial_pos) {}
169 virtual void ShowContextMenu(const ContextMenuParams& params) {} 171 virtual void ShowContextMenu(const ContextMenuParams& params) {}
170 virtual void StartDragging(const WebDropData& drop_data, 172 virtual void StartDragging(const WebDropData& drop_data,
171 WebKit::WebDragOperationsMask allowed_ops); 173 WebKit::WebDragOperationsMask allowed_ops,
174 const SkBitmap& image,
175 const gfx::Point& image_offset);
172 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} 176 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {}
173 virtual void GotFocus() {} 177 virtual void GotFocus() {}
174 virtual void TakeFocus(bool reverse) {} 178 virtual void TakeFocus(bool reverse) {}
175 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 179 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
176 bool* is_keyboard_shortcut) { 180 bool* is_keyboard_shortcut) {
177 return false; 181 return false;
178 } 182 }
179 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} 183 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
180 virtual void HandleMouseEvent() {} 184 virtual void HandleMouseEvent() {}
181 virtual void HandleMouseLeave() {} 185 virtual void HandleMouseLeave() {}
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 233
230 // True if the popup has ever been shown. 234 // True if the popup has ever been shown.
231 bool has_shown_; 235 bool has_shown_;
232 236
233 DISALLOW_COPY_AND_ASSIGN(AppLauncher); 237 DISALLOW_COPY_AND_ASSIGN(AppLauncher);
234 }; 238 };
235 239
236 } // namespace chromeos 240 } // namespace chromeos
237 241
238 #endif // CHROME_BROWSER_CHROMEOS_APP_LAUNCHER_H_ 242 #endif // CHROME_BROWSER_CHROMEOS_APP_LAUNCHER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_launcher.cc » ('j') | chrome/renderer/render_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698