| 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 |
| 71 virtual void UpdateFullscreenExitBubbleContent( | 75 virtual void UpdateFullscreenExitBubbleContent( |
| 72 const GURL& url, | 76 const GURL& url, |
| 73 FullscreenExitBubbleType bubble_type) OVERRIDE; | 77 FullscreenExitBubbleType bubble_type) OVERRIDE; |
| 74 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; | 78 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; |
| 75 virtual LocationBar* GetLocationBar() const OVERRIDE; | 79 virtual LocationBar* GetLocationBar() const OVERRIDE; |
| 76 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; | 80 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; |
| 77 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; | 81 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; |
| 78 virtual void UpdateToolbar(TabContents* contents, | 82 virtual void UpdateToolbar(TabContents* contents, |
| 79 bool should_restore_state) OVERRIDE; | 83 bool should_restore_state) OVERRIDE; |
| 80 virtual void FocusToolbar() OVERRIDE; | 84 virtual void FocusToolbar() OVERRIDE; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 Panel* panel_; // Weak pointer. Owns us. | 173 Panel* panel_; // Weak pointer. Owns us. |
| 170 | 174 |
| 171 // Platform specifc implementation for panels. It'd be one of | 175 // Platform specifc implementation for panels. It'd be one of |
| 172 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. | 176 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. |
| 173 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). | 177 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). |
| 174 | 178 |
| 175 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); | 179 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); |
| 176 }; | 180 }; |
| 177 | 181 |
| 178 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ | 182 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ |
| OLD | NEW |