| 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_SHELL_WINDOW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_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_shell_window.h" | 9 #include "chrome/browser/ui/extensions/native_shell_window.h" |
| 10 #include "chrome/browser/ui/extensions/shell_window.h" | 10 #include "chrome/browser/ui/extensions/shell_window.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 virtual const views::Widget* GetWidget() const OVERRIDE; | 68 virtual const views::Widget* GetWidget() const OVERRIDE; |
| 69 virtual string16 GetWindowTitle() const OVERRIDE; | 69 virtual string16 GetWindowTitle() const OVERRIDE; |
| 70 virtual void DeleteDelegate() OVERRIDE; | 70 virtual void DeleteDelegate() OVERRIDE; |
| 71 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 71 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 72 virtual bool ShouldDescendIntoChildForEventHandling( | 72 virtual bool ShouldDescendIntoChildForEventHandling( |
| 73 gfx::NativeView child, | 73 gfx::NativeView child, |
| 74 const gfx::Point& location) OVERRIDE; | 74 const gfx::Point& location) OVERRIDE; |
| 75 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; | 75 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; |
| 76 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 76 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
| 77 virtual bool ShouldShowWindowTitle() const OVERRIDE; | 77 virtual bool ShouldShowWindowTitle() const OVERRIDE; |
| 78 virtual void OnWidgetMove() OVERRIDE; |
| 78 | 79 |
| 79 protected: | 80 protected: |
| 80 // views::View implementation. | 81 // views::View implementation. |
| 81 virtual void Layout() OVERRIDE; | 82 virtual void Layout() OVERRIDE; |
| 82 virtual void ViewHierarchyChanged( | 83 virtual void ViewHierarchyChanged( |
| 83 bool is_add, views::View *parent, views::View *child) OVERRIDE; | 84 bool is_add, views::View *parent, views::View *child) OVERRIDE; |
| 84 virtual gfx::Size GetMinimumSize() OVERRIDE; | 85 virtual gfx::Size GetMinimumSize() OVERRIDE; |
| 85 virtual gfx::Size GetMaximumSize() OVERRIDE; | 86 virtual gfx::Size GetMaximumSize() OVERRIDE; |
| 86 virtual void OnFocus() OVERRIDE; | 87 virtual void OnFocus() OVERRIDE; |
| 87 | 88 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 129 |
| 129 // The class that registers for keyboard shortcuts for extension commands. | 130 // The class that registers for keyboard shortcuts for extension commands. |
| 130 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_; | 131 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_; |
| 131 | 132 |
| 132 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 133 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
| 133 | 134 |
| 134 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); | 135 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ | 138 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ |
| OLD | NEW |