| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 virtual void UpdateDevTools() OVERRIDE; | 61 virtual void UpdateDevTools() OVERRIDE; |
| 62 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE; | 62 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE; |
| 63 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; | 63 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; |
| 64 virtual void SetStarredState(bool is_starred) OVERRIDE; | 64 virtual void SetStarredState(bool is_starred) OVERRIDE; |
| 65 virtual void SetZoomIconState(ZoomController::ZoomIconState state) OVERRIDE; | 65 virtual void SetZoomIconState(ZoomController::ZoomIconState state) OVERRIDE; |
| 66 virtual void SetZoomIconTooltipPercent(int zoom_percent) OVERRIDE; | 66 virtual void SetZoomIconTooltipPercent(int zoom_percent) OVERRIDE; |
| 67 virtual void ShowZoomBubble(int zoom_percent) OVERRIDE; | 67 virtual void ShowZoomBubble(int zoom_percent) OVERRIDE; |
| 68 virtual void EnterFullscreen( | 68 virtual void EnterFullscreen( |
| 69 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; | 69 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; |
| 70 virtual void ExitFullscreen() OVERRIDE; | 70 virtual void ExitFullscreen() OVERRIDE; |
| 71 #if defined(OS_WIN) | |
| 72 virtual void SetMetroSnapMode(bool enable) OVERRIDE; | |
| 73 virtual bool IsInMetroSnapMode() const OVERRIDE; | |
| 74 #endif | |
| 75 virtual void UpdateFullscreenExitBubbleContent( | 71 virtual void UpdateFullscreenExitBubbleContent( |
| 76 const GURL& url, | 72 const GURL& url, |
| 77 FullscreenExitBubbleType bubble_type) OVERRIDE; | 73 FullscreenExitBubbleType bubble_type) OVERRIDE; |
| 78 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; | 74 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; |
| 79 virtual LocationBar* GetLocationBar() const OVERRIDE; | 75 virtual LocationBar* GetLocationBar() const OVERRIDE; |
| 80 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; | 76 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; |
| 81 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; | 77 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; |
| 82 virtual void UpdateToolbar(TabContentsWrapper* contents, | 78 virtual void UpdateToolbar(TabContentsWrapper* contents, |
| 83 bool should_restore_state) OVERRIDE; | 79 bool should_restore_state) OVERRIDE; |
| 84 virtual void FocusToolbar() OVERRIDE; | 80 virtual void FocusToolbar() OVERRIDE; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 Panel* panel_; // Weak pointer. Owns us. | 169 Panel* panel_; // Weak pointer. Owns us. |
| 174 | 170 |
| 175 // Platform specifc implementation for panels. It'd be one of | 171 // Platform specifc implementation for panels. It'd be one of |
| 176 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. | 172 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. |
| 177 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). | 173 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). |
| 178 | 174 |
| 179 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); | 175 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); |
| 180 }; | 176 }; |
| 181 | 177 |
| 182 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ | 178 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ |
| OLD | NEW |