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

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 Created 8 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "chrome/browser/ui/base_window.h" 10 #include "chrome/browser/ui/base_window.h"
(...skipping 16 matching lines...) Expand all
27 #if !defined(OS_MACOSX) 27 #if !defined(OS_MACOSX)
28 class ToolbarView; 28 class ToolbarView;
29 #endif 29 #endif
30 struct NativeWebKeyboardEvent; 30 struct NativeWebKeyboardEvent;
31 31
32 namespace content { 32 namespace content {
33 class WebContents; 33 class WebContents;
34 struct SSLStatus; 34 struct SSLStatus;
35 } 35 }
36 36
37 namespace extensions {
38 class Extension;
39 }
40
37 namespace gfx { 41 namespace gfx {
38 class Rect; 42 class Rect;
39 class Size; 43 class Size;
40 } 44 }
41 45
42 class Extension;
43 46
44 enum DevToolsDockSide { 47 enum DevToolsDockSide {
45 DEVTOOLS_DOCK_SIDE_BOTTOM = 0, 48 DEVTOOLS_DOCK_SIDE_BOTTOM = 0,
46 DEVTOOLS_DOCK_SIDE_RIGHT = 1 49 DEVTOOLS_DOCK_SIDE_RIGHT = 1
47 }; 50 };
48 51
49 //////////////////////////////////////////////////////////////////////////////// 52 ////////////////////////////////////////////////////////////////////////////////
50 // BrowserWindow interface 53 // BrowserWindow interface
51 // An interface implemented by the "view" of the Browser window. 54 // An interface implemented by the "view" of the Browser window.
52 // This interface includes BaseWindow methods as well as Browser window 55 // This interface includes BaseWindow methods as well as Browser window
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // Allows the BrowserWindow object to handle the specified keyboard event, 286 // Allows the BrowserWindow object to handle the specified keyboard event,
284 // if the renderer did not process it. 287 // if the renderer did not process it.
285 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) = 0; 288 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) = 0;
286 289
287 // Shows the create web app shortcut dialog box. 290 // Shows the create web app shortcut dialog box.
288 virtual void ShowCreateWebAppShortcutsDialog( 291 virtual void ShowCreateWebAppShortcutsDialog(
289 TabContentsWrapper* tab_contents) = 0; 292 TabContentsWrapper* tab_contents) = 0;
290 293
291 // Shows the create chrome app shortcut dialog box. 294 // Shows the create chrome app shortcut dialog box.
292 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, 295 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
293 const Extension* app) = 0; 296 const extensions::Extension* app) = 0;
297
294 298
295 // Clipboard commands applied to the whole browser window. 299 // Clipboard commands applied to the whole browser window.
296 virtual void Cut() = 0; 300 virtual void Cut() = 0;
297 virtual void Copy() = 0; 301 virtual void Copy() = 0;
298 virtual void Paste() = 0; 302 virtual void Paste() = 0;
299 303
300 #if defined(OS_MACOSX) 304 #if defined(OS_MACOSX)
301 // Opens the tabpose view. 305 // Opens the tabpose view.
302 virtual void OpenTabpose() = 0; 306 virtual void OpenTabpose() = 0;
303 307
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 396
393 // Returns the ToolbarView. 397 // Returns the ToolbarView.
394 virtual ToolbarView* GetToolbarView() const = 0; 398 virtual ToolbarView* GetToolbarView() const = 0;
395 #endif 399 #endif
396 400
397 protected: 401 protected:
398 virtual ~BrowserWindowTesting() {} 402 virtual ~BrowserWindowTesting() {}
399 }; 403 };
400 404
401 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 405 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698