| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 const NavigationEntry::SSLStatus& ssl, | 103 const NavigationEntry::SSLStatus& ssl, |
| 104 bool show_history); | 104 bool show_history); |
| 105 virtual void ShowAppMenu(); | 105 virtual void ShowAppMenu(); |
| 106 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 106 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 107 bool* is_keyboard_shortcut); | 107 bool* is_keyboard_shortcut); |
| 108 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 108 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 109 virtual void ShowCreateWebAppShortcutsDialog( | 109 virtual void ShowCreateWebAppShortcutsDialog( |
| 110 TabContentsWrapper* tab_contents); | 110 TabContentsWrapper* tab_contents); |
| 111 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, | 111 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, |
| 112 const Extension* app); | 112 const Extension* app); |
| 113 virtual void ToggleUseCompactNavigationBar(); |
| 113 virtual void Cut(); | 114 virtual void Cut(); |
| 114 virtual void Copy(); | 115 virtual void Copy(); |
| 115 virtual void Paste(); | 116 virtual void Paste(); |
| 116 virtual void ToggleTabStripMode(); | 117 virtual void ToggleTabStripMode(); |
| 117 #if defined(OS_MACOSX) | 118 #if defined(OS_MACOSX) |
| 118 virtual void OpenTabpose(); | 119 virtual void OpenTabpose(); |
| 119 #endif | 120 #endif |
| 120 virtual void PrepareForInstant(); | 121 virtual void PrepareForInstant(); |
| 121 virtual void ShowInstant(TabContentsWrapper* preview); | 122 virtual void ShowInstant(TabContentsWrapper* preview); |
| 122 virtual void HideInstant(bool instant_is_active); | 123 virtual void HideInstant(bool instant_is_active); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // The bounds when the panel is minimized. | 161 // The bounds when the panel is minimized. |
| 161 gfx::Rect minimized_bounds_; | 162 gfx::Rect minimized_bounds_; |
| 162 | 163 |
| 163 // Is the panel minimized? | 164 // Is the panel minimized? |
| 164 bool minimized_; | 165 bool minimized_; |
| 165 | 166 |
| 166 DISALLOW_COPY_AND_ASSIGN(Panel); | 167 DISALLOW_COPY_AND_ASSIGN(Panel); |
| 167 }; | 168 }; |
| 168 | 169 |
| 169 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 170 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| OLD | NEW |