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_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 virtual void Maximize() OVERRIDE; | 247 virtual void Maximize() OVERRIDE; |
248 virtual void Minimize() OVERRIDE; | 248 virtual void Minimize() OVERRIDE; |
249 virtual void Restore() OVERRIDE; | 249 virtual void Restore() OVERRIDE; |
250 virtual void EnterFullscreen( | 250 virtual void EnterFullscreen( |
251 const GURL& url, FullscreenExitBubbleType bubble_type) OVERRIDE; | 251 const GURL& url, FullscreenExitBubbleType bubble_type) OVERRIDE; |
252 virtual void ExitFullscreen() OVERRIDE; | 252 virtual void ExitFullscreen() OVERRIDE; |
253 virtual void UpdateFullscreenExitBubbleContent( | 253 virtual void UpdateFullscreenExitBubbleContent( |
254 const GURL& url, | 254 const GURL& url, |
255 FullscreenExitBubbleType bubble_type) OVERRIDE; | 255 FullscreenExitBubbleType bubble_type) OVERRIDE; |
256 virtual bool IsFullscreen() const OVERRIDE; | 256 virtual bool IsFullscreen() const OVERRIDE; |
| 257 #if defined(OS_WIN) |
| 258 virtual void ToggleMetroSnapMode(bool enable) OVERRIDE; |
| 259 #endif |
257 virtual LocationBar* GetLocationBar() const OVERRIDE; | 260 virtual LocationBar* GetLocationBar() const OVERRIDE; |
258 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; | 261 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; |
259 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; | 262 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; |
260 virtual void UpdateToolbar(TabContentsWrapper* contents, | 263 virtual void UpdateToolbar(TabContentsWrapper* contents, |
261 bool should_restore_state) OVERRIDE; | 264 bool should_restore_state) OVERRIDE; |
262 virtual void FocusToolbar() OVERRIDE; | 265 virtual void FocusToolbar() OVERRIDE; |
263 virtual void FocusAppMenu() OVERRIDE; | 266 virtual void FocusAppMenu() OVERRIDE; |
264 virtual void FocusBookmarksToolbar() OVERRIDE; | 267 virtual void FocusBookmarksToolbar() OVERRIDE; |
265 virtual void RotatePaneFocus(bool forwards) OVERRIDE; | 268 virtual void RotatePaneFocus(bool forwards) OVERRIDE; |
266 virtual void DestroyBrowser() OVERRIDE; | 269 virtual void DestroyBrowser() OVERRIDE; |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 bool force_location_bar_focus_; | 686 bool force_location_bar_focus_; |
684 | 687 |
685 PendingFullscreenRequest fullscreen_request_; | 688 PendingFullscreenRequest fullscreen_request_; |
686 | 689 |
687 gfx::ScopedSysColorChangeListener color_change_listener_; | 690 gfx::ScopedSysColorChangeListener color_change_listener_; |
688 | 691 |
689 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 692 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
690 }; | 693 }; |
691 | 694 |
692 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 695 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |