Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window.h

Issue 10446106: Preliminary metro snap plumbing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix test errors, unify fullscreen code in browser view. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 ToggleMetroSnapMode(bool enable) OVERRIDE;
73 #endif
71 virtual void UpdateFullscreenExitBubbleContent( 74 virtual void UpdateFullscreenExitBubbleContent(
72 const GURL& url, 75 const GURL& url,
73 FullscreenExitBubbleType bubble_type) OVERRIDE; 76 FullscreenExitBubbleType bubble_type) OVERRIDE;
74 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; 77 virtual bool IsFullscreenBubbleVisible() const OVERRIDE;
75 virtual LocationBar* GetLocationBar() const OVERRIDE; 78 virtual LocationBar* GetLocationBar() const OVERRIDE;
76 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; 79 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE;
77 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; 80 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE;
78 virtual void UpdateToolbar(TabContentsWrapper* contents, 81 virtual void UpdateToolbar(TabContentsWrapper* contents,
79 bool should_restore_state) OVERRIDE; 82 bool should_restore_state) OVERRIDE;
80 virtual void FocusToolbar() OVERRIDE; 83 virtual void FocusToolbar() OVERRIDE;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 Panel* panel_; // Weak pointer. Owns us. 171 Panel* panel_; // Weak pointer. Owns us.
169 172
170 // Platform specifc implementation for panels. It'd be one of 173 // Platform specifc implementation for panels. It'd be one of
171 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. 174 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
172 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). 175 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel).
173 176
174 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); 177 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow);
175 }; 178 };
176 179
177 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 180 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698