| OLD | NEW |
| 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 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // BaseWindow implementation. | 54 // BaseWindow implementation. |
| 55 virtual bool IsActive() const OVERRIDE; | 55 virtual bool IsActive() const OVERRIDE; |
| 56 virtual bool IsMaximized() const OVERRIDE; | 56 virtual bool IsMaximized() const OVERRIDE; |
| 57 virtual bool IsMinimized() const OVERRIDE; | 57 virtual bool IsMinimized() const OVERRIDE; |
| 58 virtual bool IsFullscreen() const OVERRIDE; | 58 virtual bool IsFullscreen() const OVERRIDE; |
| 59 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; | 59 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
| 60 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 60 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
| 61 virtual gfx::Rect GetBounds() const OVERRIDE; | 61 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 62 virtual void Show() OVERRIDE; | 62 virtual void Show() OVERRIDE; |
| 63 virtual void ShowInactive() OVERRIDE; | 63 virtual void ShowInactive() OVERRIDE; |
| 64 virtual void Hide() OVERRIDE; |
| 64 virtual void Close() OVERRIDE; | 65 virtual void Close() OVERRIDE; |
| 65 virtual void Activate() OVERRIDE; | 66 virtual void Activate() OVERRIDE; |
| 66 virtual void Deactivate() OVERRIDE; | 67 virtual void Deactivate() OVERRIDE; |
| 67 virtual void Maximize() OVERRIDE; | 68 virtual void Maximize() OVERRIDE; |
| 68 virtual void Minimize() OVERRIDE; | 69 virtual void Minimize() OVERRIDE; |
| 69 virtual void Restore() OVERRIDE; | 70 virtual void Restore() OVERRIDE; |
| 70 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 71 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 71 virtual void FlashFrame(bool flash) OVERRIDE; | 72 virtual void FlashFrame(bool flash) OVERRIDE; |
| 72 virtual bool IsAlwaysOnTop() const OVERRIDE; | 73 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 73 | 74 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 NSPoint last_mouse_location_; | 156 NSPoint last_mouse_location_; |
| 156 | 157 |
| 157 // The Extension Command Registry used to determine which keyboard events to | 158 // The Extension Command Registry used to determine which keyboard events to |
| 158 // handle. | 159 // handle. |
| 159 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; | 160 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; |
| 160 | 161 |
| 161 DISALLOW_COPY_AND_ASSIGN(ShellWindowCocoa); | 162 DISALLOW_COPY_AND_ASSIGN(ShellWindowCocoa); |
| 162 }; | 163 }; |
| 163 | 164 |
| 164 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_ | 165 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_ |
| OLD | NEW |