| 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_VIEWS_EXTENSIONS_NATIVE_APP_WINDOW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_NATIVE_APP_WINDOW_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_NATIVE_APP_WINDOW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_NATIVE_APP_WINDOW_VIEWS_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/base_window.h" | 8 #include "chrome/browser/ui/base_window.h" |
| 9 #include "chrome/browser/ui/extensions/native_app_window.h" | 9 #include "chrome/browser/ui/extensions/native_app_window.h" |
| 10 #include "chrome/browser/ui/extensions/shell_window.h" | 10 #include "chrome/browser/ui/extensions/shell_window.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 // WidgetDelegate implementation. | 73 // WidgetDelegate implementation. |
| 74 virtual void OnWidgetMove() OVERRIDE; | 74 virtual void OnWidgetMove() OVERRIDE; |
| 75 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 75 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 76 virtual bool CanResize() const OVERRIDE; | 76 virtual bool CanResize() const OVERRIDE; |
| 77 virtual bool CanMaximize() const OVERRIDE; | 77 virtual bool CanMaximize() const OVERRIDE; |
| 78 virtual string16 GetWindowTitle() const OVERRIDE; | 78 virtual string16 GetWindowTitle() const OVERRIDE; |
| 79 virtual bool ShouldShowWindowTitle() const OVERRIDE; | 79 virtual bool ShouldShowWindowTitle() const OVERRIDE; |
| 80 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; | 80 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; |
| 81 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 81 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
| 82 virtual bool ShouldShowWindowIcon() const OVERRIDE; |
| 82 virtual void SaveWindowPlacement(const gfx::Rect& bounds, | 83 virtual void SaveWindowPlacement(const gfx::Rect& bounds, |
| 83 ui::WindowShowState show_state) OVERRIDE; | 84 ui::WindowShowState show_state) OVERRIDE; |
| 84 virtual void DeleteDelegate() OVERRIDE; | 85 virtual void DeleteDelegate() OVERRIDE; |
| 85 virtual views::Widget* GetWidget() OVERRIDE; | 86 virtual views::Widget* GetWidget() OVERRIDE; |
| 86 virtual const views::Widget* GetWidget() const OVERRIDE; | 87 virtual const views::Widget* GetWidget() const OVERRIDE; |
| 87 virtual views::View* GetContentsView() OVERRIDE; | 88 virtual views::View* GetContentsView() OVERRIDE; |
| 88 virtual views::NonClientFrameView* CreateNonClientFrameView( | 89 virtual views::NonClientFrameView* CreateNonClientFrameView( |
| 89 views::Widget* widget) OVERRIDE; | 90 views::Widget* widget) OVERRIDE; |
| 90 virtual bool ShouldDescendIntoChildForEventHandling( | 91 virtual bool ShouldDescendIntoChildForEventHandling( |
| 91 gfx::NativeView child, | 92 gfx::NativeView child, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 147 |
| 147 // The class that registers for keyboard shortcuts for extension commands. | 148 // The class that registers for keyboard shortcuts for extension commands. |
| 148 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_; | 149 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_; |
| 149 | 150 |
| 150 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 151 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
| 151 | 152 |
| 152 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); | 153 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); |
| 153 }; | 154 }; |
| 154 | 155 |
| 155 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_NATIVE_APP_WINDOW_VIEWS_H_ | 156 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_NATIVE_APP_WINDOW_VIEWS_H_ |
| OLD | NEW |