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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/shell_window_cocoa.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
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_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 25
26 @property(assign, nonatomic) ShellWindowCocoa* shellWindow; 26 @property(assign, nonatomic) ShellWindowCocoa* shellWindow;
27 27
28 @end 28 @end
29 29
30 // Cocoa bridge to ShellWindow. 30 // Cocoa bridge to ShellWindow.
31 class ShellWindowCocoa : public ShellWindow { 31 class ShellWindowCocoa : public ShellWindow {
32 public: 32 public:
33 ShellWindowCocoa(Profile* profile, 33 ShellWindowCocoa(Profile* profile,
34 const Extension* extension, 34 const extensions::Extension* extension,
35 const GURL& url); 35 const GURL& url);
36 36
37 // BaseWindow implementation. 37 // BaseWindow implementation.
38 virtual bool IsActive() const OVERRIDE; 38 virtual bool IsActive() const OVERRIDE;
39 virtual bool IsMaximized() const OVERRIDE; 39 virtual bool IsMaximized() const OVERRIDE;
40 virtual bool IsMinimized() const OVERRIDE; 40 virtual bool IsMinimized() const OVERRIDE;
41 virtual bool IsFullscreen() const OVERRIDE; 41 virtual bool IsFullscreen() const OVERRIDE;
42 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 42 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
43 virtual gfx::Rect GetBounds() const OVERRIDE; 43 virtual gfx::Rect GetBounds() const OVERRIDE;
44 virtual void Show() OVERRIDE; 44 virtual void Show() OVERRIDE;
(...skipping 17 matching lines...) Expand all
62 62
63 NSWindow* window() const; 63 NSWindow* window() const;
64 64
65 scoped_nsobject<ShellWindowController> window_controller_; 65 scoped_nsobject<ShellWindowController> window_controller_;
66 NSInteger attention_request_id_; // identifier from requestUserAttention 66 NSInteger attention_request_id_; // identifier from requestUserAttention
67 67
68 DISALLOW_COPY_AND_ASSIGN(ShellWindowCocoa); 68 DISALLOW_COPY_AND_ASSIGN(ShellWindowCocoa);
69 }; 69 };
70 70
71 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_ 71 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698