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

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

Issue 10916274: Ensure that windows belonging to a different profile show up when the corresponding user avatar is … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 LPARAM l_param) OVERRIDE; 56 LPARAM l_param) OVERRIDE;
57 virtual void OnScreenReaderDetected() OVERRIDE; 57 virtual void OnScreenReaderDetected() OVERRIDE;
58 virtual bool ShouldUseNativeFrame() const OVERRIDE; 58 virtual bool ShouldUseNativeFrame() const OVERRIDE;
59 virtual void Show() OVERRIDE; 59 virtual void Show() OVERRIDE;
60 virtual void ShowMaximizedWithBounds( 60 virtual void ShowMaximizedWithBounds(
61 const gfx::Rect& restored_bounds) OVERRIDE; 61 const gfx::Rect& restored_bounds) OVERRIDE;
62 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE; 62 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE;
63 virtual void Close() OVERRIDE; 63 virtual void Close() OVERRIDE;
64 virtual void FrameTypeChanged() OVERRIDE; 64 virtual void FrameTypeChanged() OVERRIDE;
65 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 65 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
66 virtual void Activate() OVERRIDE;
66 67
67 // Overridden from NativeBrowserFrame: 68 // Overridden from NativeBrowserFrame:
68 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; 69 virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
69 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE; 70 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE;
70 virtual void InitSystemContextMenu() OVERRIDE; 71 virtual void InitSystemContextMenu() OVERRIDE;
71 virtual int GetMinimizeButtonOffset() const OVERRIDE; 72 virtual int GetMinimizeButtonOffset() const OVERRIDE;
72 virtual void TabStripDisplayModeChanged() OVERRIDE; 73 virtual void TabStripDisplayModeChanged() OVERRIDE;
73 74
74 // Overriden from views::ImageButton override: 75 // Overriden from views::ImageButton override:
75 virtual void ButtonPressed(views::Button* sender, 76 virtual void ButtonPressed(views::Button* sender,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // The wrapped system menu itself. 118 // The wrapped system menu itself.
118 scoped_ptr<views::NativeMenuWin> system_menu_; 119 scoped_ptr<views::NativeMenuWin> system_menu_;
119 120
120 // See CacheMinimizeButtonDelta() for details about this member. 121 // See CacheMinimizeButtonDelta() for details about this member.
121 int cached_minimize_button_x_delta_; 122 int cached_minimize_button_x_delta_;
122 123
123 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin); 124 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin);
124 }; 125 };
125 126
126 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 127 #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') | chrome/browser/ui/views/frame/browser_frame_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698