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

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

Issue 73193006: Removes BrowserFrame::TabStripDisplayModeChanged, its long dead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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.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_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // Returns the amount that the theme background should be inset. 68 // Returns the amount that the theme background should be inset.
69 int GetThemeBackgroundXInset() const; 69 int GetThemeBackgroundXInset() const;
70 70
71 // Tells the frame to update the throbber. 71 // Tells the frame to update the throbber.
72 void UpdateThrobber(bool running); 72 void UpdateThrobber(bool running);
73 73
74 // Returns the NonClientFrameView of this frame. 74 // Returns the NonClientFrameView of this frame.
75 views::View* GetFrameView() const; 75 views::View* GetFrameView() const;
76 76
77 // Notifies the frame that the tab strip display mode changed so it can update
78 // its frame treatment if necessary.
79 void TabStripDisplayModeChanged();
80
81 // Overridden from views::Widget: 77 // Overridden from views::Widget:
82 virtual views::internal::RootView* CreateRootView() OVERRIDE; 78 virtual views::internal::RootView* CreateRootView() OVERRIDE;
83 virtual views::NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 79 virtual views::NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
84 virtual bool GetAccelerator(int command_id, 80 virtual bool GetAccelerator(int command_id,
85 ui::Accelerator* accelerator) OVERRIDE; 81 ui::Accelerator* accelerator) OVERRIDE;
86 virtual ui::ThemeProvider* GetThemeProvider() const OVERRIDE; 82 virtual ui::ThemeProvider* GetThemeProvider() const OVERRIDE;
87 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 83 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
88 virtual void OnNativeWidgetActivationChanged(bool active) OVERRIDE; 84 virtual void OnNativeWidgetActivationChanged(bool active) OVERRIDE;
89 85
90 // Overridden from views::ContextMenuController: 86 // Overridden from views::ContextMenuController:
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // |theme_provider_|. Initially |theme_provider_| is set to the ThemeService 125 // |theme_provider_|. Initially |theme_provider_| is set to the ThemeService
130 // and |owned_theme_provider_| is NULL (as ThemeServices lifetime is managed 126 // and |owned_theme_provider_| is NULL (as ThemeServices lifetime is managed
131 // externally). 127 // externally).
132 scoped_ptr<ui::ThemeProvider> owned_theme_provider_; 128 scoped_ptr<ui::ThemeProvider> owned_theme_provider_;
133 ui::ThemeProvider* theme_provider_; 129 ui::ThemeProvider* theme_provider_;
134 130
135 DISALLOW_COPY_AND_ASSIGN(BrowserFrame); 131 DISALLOW_COPY_AND_ASSIGN(BrowserFrame);
136 }; 132 };
137 133
138 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_H_ 134 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698