| 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_PANELS_PANEL_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_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 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" | 10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 TabContents* tab_contents, | 119 TabContents* tab_contents, |
| 120 const GURL& url, | 120 const GURL& url, |
| 121 const content::SSLStatus& ssl, | 121 const content::SSLStatus& ssl, |
| 122 bool show_history) OVERRIDE; | 122 bool show_history) OVERRIDE; |
| 123 virtual void ShowAppMenu() OVERRIDE; | 123 virtual void ShowAppMenu() OVERRIDE; |
| 124 virtual bool PreHandleKeyboardEvent( | 124 virtual bool PreHandleKeyboardEvent( |
| 125 const content::NativeWebKeyboardEvent& event, | 125 const content::NativeWebKeyboardEvent& event, |
| 126 bool* is_keyboard_shortcut) OVERRIDE; | 126 bool* is_keyboard_shortcut) OVERRIDE; |
| 127 virtual void HandleKeyboardEvent( | 127 virtual void HandleKeyboardEvent( |
| 128 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 128 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 129 virtual void ShowCreateWebAppShortcutsDialog( | |
| 130 TabContents* tab_contents) OVERRIDE; | |
| 131 virtual void ShowCreateChromeAppShortcutsDialog( | 129 virtual void ShowCreateChromeAppShortcutsDialog( |
| 132 Profile* profile, const extensions::Extension* app) OVERRIDE; | 130 Profile* profile, const extensions::Extension* app) OVERRIDE; |
| 133 virtual void Cut() OVERRIDE; | 131 virtual void Cut() OVERRIDE; |
| 134 virtual void Copy() OVERRIDE; | 132 virtual void Copy() OVERRIDE; |
| 135 virtual void Paste() OVERRIDE; | 133 virtual void Paste() OVERRIDE; |
| 136 #if defined(OS_MACOSX) | 134 #if defined(OS_MACOSX) |
| 137 virtual void OpenTabpose() OVERRIDE; | 135 virtual void OpenTabpose() OVERRIDE; |
| 138 virtual void EnterPresentationMode( | 136 virtual void EnterPresentationMode( |
| 139 const GURL& url, | 137 const GURL& url, |
| 140 FullscreenExitBubbleType bubble_type) OVERRIDE; | 138 FullscreenExitBubbleType bubble_type) OVERRIDE; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 Panel* panel_; // Weak pointer. Owns us. | 170 Panel* panel_; // Weak pointer. Owns us. |
| 173 | 171 |
| 174 // Platform specifc implementation for panels. It'd be one of | 172 // Platform specifc implementation for panels. It'd be one of |
| 175 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. | 173 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. |
| 176 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). | 174 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). |
| 177 | 175 |
| 178 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); | 176 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); |
| 179 }; | 177 }; |
| 180 | 178 |
| 181 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ | 179 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ |
| OLD | NEW |