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

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 6 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
« no previous file with comments | « chrome/browser/ui/browser_dialogs.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/lifetime/application_lifetime.h" 10 #include "chrome/browser/lifetime/application_lifetime.h"
(...skipping 17 matching lines...) Expand all
28 #if !defined(OS_MACOSX) 28 #if !defined(OS_MACOSX)
29 class ToolbarView; 29 class ToolbarView;
30 #endif 30 #endif
31 31
32 namespace content { 32 namespace content {
33 class WebContents; 33 class WebContents;
34 struct NativeWebKeyboardEvent; 34 struct NativeWebKeyboardEvent;
35 struct SSLStatus; 35 struct SSLStatus;
36 } 36 }
37 37
38 namespace extensions {
39 class Extension;
40 }
41
38 namespace gfx { 42 namespace gfx {
39 class Rect; 43 class Rect;
40 class Size; 44 class Size;
41 } 45 }
42 46
43 class Extension;
44 47
45 enum DevToolsDockSide { 48 enum DevToolsDockSide {
46 DEVTOOLS_DOCK_SIDE_BOTTOM = 0, 49 DEVTOOLS_DOCK_SIDE_BOTTOM = 0,
47 DEVTOOLS_DOCK_SIDE_RIGHT = 1 50 DEVTOOLS_DOCK_SIDE_RIGHT = 1
48 }; 51 };
49 52
50 //////////////////////////////////////////////////////////////////////////////// 53 ////////////////////////////////////////////////////////////////////////////////
51 // BrowserWindow interface 54 // BrowserWindow interface
52 // An interface implemented by the "view" of the Browser window. 55 // An interface implemented by the "view" of the Browser window.
53 // This interface includes BaseWindow methods as well as Browser window 56 // This interface includes BaseWindow methods as well as Browser window
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 // if the renderer did not process it. 289 // if the renderer did not process it.
287 virtual void HandleKeyboardEvent( 290 virtual void HandleKeyboardEvent(
288 const content::NativeWebKeyboardEvent& event) = 0; 291 const content::NativeWebKeyboardEvent& event) = 0;
289 292
290 // Shows the create web app shortcut dialog box. 293 // Shows the create web app shortcut dialog box.
291 virtual void ShowCreateWebAppShortcutsDialog( 294 virtual void ShowCreateWebAppShortcutsDialog(
292 TabContentsWrapper* tab_contents) = 0; 295 TabContentsWrapper* tab_contents) = 0;
293 296
294 // Shows the create chrome app shortcut dialog box. 297 // Shows the create chrome app shortcut dialog box.
295 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, 298 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
296 const Extension* app) = 0; 299 const extensions::Extension* app) = 0;
300
297 301
298 // Clipboard commands applied to the whole browser window. 302 // Clipboard commands applied to the whole browser window.
299 virtual void Cut() = 0; 303 virtual void Cut() = 0;
300 virtual void Copy() = 0; 304 virtual void Copy() = 0;
301 virtual void Paste() = 0; 305 virtual void Paste() = 0;
302 306
303 #if defined(OS_MACOSX) 307 #if defined(OS_MACOSX)
304 // Opens the tabpose view. 308 // Opens the tabpose view.
305 virtual void OpenTabpose() = 0; 309 virtual void OpenTabpose() = 0;
306 310
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 394
391 // Returns the ToolbarView. 395 // Returns the ToolbarView.
392 virtual ToolbarView* GetToolbarView() const = 0; 396 virtual ToolbarView* GetToolbarView() const = 0;
393 #endif 397 #endif
394 398
395 protected: 399 protected:
396 virtual ~BrowserWindowTesting() {} 400 virtual ~BrowserWindowTesting() {}
397 }; 401 };
398 402
399 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 403 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_dialogs.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698