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

Side by Side Diff: chrome/browser/ui/views/frame/browser_frame_win.h

Issue 10823376: Notify the Chrome metro driver component when a full screen toggle is occurring. The metro driver i… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_frame_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/ui/views/frame/browser_frame.h" 10 #include "chrome/browser/ui/views/frame/browser_frame.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual void OnWindowPosChanged(WINDOWPOS* window_pos) OVERRIDE; 54 virtual void OnWindowPosChanged(WINDOWPOS* window_pos) OVERRIDE;
55 virtual void OnScreenReaderDetected() OVERRIDE; 55 virtual void OnScreenReaderDetected() OVERRIDE;
56 virtual bool ShouldUseNativeFrame() const OVERRIDE; 56 virtual bool ShouldUseNativeFrame() const OVERRIDE;
57 virtual void Show() OVERRIDE; 57 virtual void Show() OVERRIDE;
58 virtual void ShowMaximizedWithBounds( 58 virtual void ShowMaximizedWithBounds(
59 const gfx::Rect& restored_bounds) OVERRIDE; 59 const gfx::Rect& restored_bounds) OVERRIDE;
60 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE; 60 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE;
61 virtual void Close() OVERRIDE; 61 virtual void Close() OVERRIDE;
62 virtual void OnActivate(UINT action, BOOL minimized, HWND window) OVERRIDE; 62 virtual void OnActivate(UINT action, BOOL minimized, HWND window) OVERRIDE;
63 virtual void FrameTypeChanged() OVERRIDE; 63 virtual void FrameTypeChanged() OVERRIDE;
64 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
64 65
65 // Overridden from NativeBrowserFrame: 66 // Overridden from NativeBrowserFrame:
66 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; 67 virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
67 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE; 68 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE;
68 virtual void InitSystemContextMenu() OVERRIDE; 69 virtual void InitSystemContextMenu() OVERRIDE;
69 virtual int GetMinimizeButtonOffset() const OVERRIDE; 70 virtual int GetMinimizeButtonOffset() const OVERRIDE;
70 virtual void TabStripDisplayModeChanged() OVERRIDE; 71 virtual void TabStripDisplayModeChanged() OVERRIDE;
71 72
72 // Overriden from views::ImageButton override: 73 // Overriden from views::ImageButton override:
73 virtual void ButtonPressed(views::Button* sender, 74 virtual void ButtonPressed(views::Button* sender,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // The wrapped system menu itself. 121 // The wrapped system menu itself.
121 scoped_ptr<views::NativeMenuWin> system_menu_; 122 scoped_ptr<views::NativeMenuWin> system_menu_;
122 123
123 // See CacheMinimizeButtonDelta() for details about this member. 124 // See CacheMinimizeButtonDelta() for details about this member.
124 int cached_minimize_button_x_delta_; 125 int cached_minimize_button_x_delta_;
125 126
126 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin); 127 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin);
127 }; 128 };
128 129
129 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 130 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_frame_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698