| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PANELS_PANEL_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/browser_window.h" | 9 #include "chrome/browser/ui/browser_window.h" |
| 10 | 10 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 virtual void ShowAppMenu() OVERRIDE; | 104 virtual void ShowAppMenu() OVERRIDE; |
| 105 virtual bool PreHandleKeyboardEvent( | 105 virtual bool PreHandleKeyboardEvent( |
| 106 const NativeWebKeyboardEvent& event, | 106 const NativeWebKeyboardEvent& event, |
| 107 bool* is_keyboard_shortcut) OVERRIDE; | 107 bool* is_keyboard_shortcut) OVERRIDE; |
| 108 virtual void HandleKeyboardEvent( | 108 virtual void HandleKeyboardEvent( |
| 109 const NativeWebKeyboardEvent& event) OVERRIDE; | 109 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 110 virtual void ShowCreateWebAppShortcutsDialog( | 110 virtual void ShowCreateWebAppShortcutsDialog( |
| 111 TabContentsWrapper* tab_contents) OVERRIDE; | 111 TabContentsWrapper* tab_contents) OVERRIDE; |
| 112 virtual void ShowCreateChromeAppShortcutsDialog( | 112 virtual void ShowCreateChromeAppShortcutsDialog( |
| 113 Profile* profile, const Extension* app) OVERRIDE; | 113 Profile* profile, const Extension* app) OVERRIDE; |
| 114 virtual void ToggleUseCompactNavigationBar(); |
| 114 virtual void Cut() OVERRIDE; | 115 virtual void Cut() OVERRIDE; |
| 115 virtual void Copy() OVERRIDE; | 116 virtual void Copy() OVERRIDE; |
| 116 virtual void Paste() OVERRIDE; | 117 virtual void Paste() OVERRIDE; |
| 117 virtual void ToggleTabStripMode() OVERRIDE; | 118 virtual void ToggleTabStripMode() OVERRIDE; |
| 118 #if defined(OS_MACOSX) | 119 #if defined(OS_MACOSX) |
| 119 virtual void OpenTabpose() OVERRIDE; | 120 virtual void OpenTabpose() OVERRIDE; |
| 120 #endif | 121 #endif |
| 121 virtual void PrepareForInstant() OVERRIDE; | 122 virtual void PrepareForInstant() OVERRIDE; |
| 122 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 123 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; |
| 123 virtual void HideInstant(bool instant_is_active) OVERRIDE; | 124 virtual void HideInstant(bool instant_is_active) OVERRIDE; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 // The bounds when the panel is minimized. | 162 // The bounds when the panel is minimized. |
| 162 gfx::Rect minimized_bounds_; | 163 gfx::Rect minimized_bounds_; |
| 163 | 164 |
| 164 // Is the panel minimized? | 165 // Is the panel minimized? |
| 165 bool minimized_; | 166 bool minimized_; |
| 166 | 167 |
| 167 DISALLOW_COPY_AND_ASSIGN(Panel); | 168 DISALLOW_COPY_AND_ASSIGN(Panel); |
| 168 }; | 169 }; |
| 169 | 170 |
| 170 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 171 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| OLD | NEW |