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

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

Issue 2129373002: Replace all occurrences of words meaning "off the record" with "incognito" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_
7 7
8 #include "chrome/browser/profiles/profile_attributes_storage.h" 8 #include "chrome/browser/profiles/profile_attributes_storage.h"
9 #include "chrome/browser/ui/views/profiles/profile_indicator_icon.h" 9 #include "chrome/browser/ui/views/profiles/profile_indicator_icon.h"
10 #include "ui/views/window/non_client_view.h" 10 #include "ui/views/window/non_client_view.h"
(...skipping 23 matching lines...) Expand all
34 // the non-client view. The topmost view depends on the window type. The 34 // the non-client view. The topmost view depends on the window type. The
35 // topmost view is the tab strip for tabbed browser windows, the toolbar for 35 // topmost view is the tab strip for tabbed browser windows, the toolbar for
36 // popups, the web contents for app windows and varies for fullscreen windows. 36 // popups, the web contents for app windows and varies for fullscreen windows.
37 // If |restored| is true, this is calculated as if the window was restored, 37 // If |restored| is true, this is calculated as if the window was restored,
38 // regardless of its current state. 38 // regardless of its current state.
39 virtual int GetTopInset(bool restored) const = 0; 39 virtual int GetTopInset(bool restored) const = 0;
40 40
41 // Returns the amount that the theme background should be inset. 41 // Returns the amount that the theme background should be inset.
42 virtual int GetThemeBackgroundXInset() const = 0; 42 virtual int GetThemeBackgroundXInset() const = 0;
43 43
44 // Retrieves the icon to use in the frame to indicate an OTR window. 44 // Retrieves the icon to use in the frame to indicate an incognito window.
45 gfx::ImageSkia GetOTRAvatarIcon() const; 45 gfx::ImageSkia GetIncognitoAvatarIcon() const;
46 46
47 // Returns COLOR_TOOLBAR_TOP_SEPARATOR[,_INACTIVE] depending on the activation 47 // Returns COLOR_TOOLBAR_TOP_SEPARATOR[,_INACTIVE] depending on the activation
48 // state of the window. 48 // state of the window.
49 SkColor GetToolbarTopSeparatorColor() const; 49 SkColor GetToolbarTopSeparatorColor() const;
50 50
51 // Updates the throbber. 51 // Updates the throbber.
52 virtual void UpdateThrobber(bool running) = 0; 52 virtual void UpdateThrobber(bool running) = 0;
53 53
54 // Updates any toolbar components in the frame. The default implementation 54 // Updates any toolbar components in the frame. The default implementation
55 // does nothing. 55 // does nothing.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 namespace chrome { 130 namespace chrome {
131 131
132 // Provided by a browser_non_client_frame_view_factory_*.cc implementation 132 // Provided by a browser_non_client_frame_view_factory_*.cc implementation
133 BrowserNonClientFrameView* CreateBrowserNonClientFrameView( 133 BrowserNonClientFrameView* CreateBrowserNonClientFrameView(
134 BrowserFrame* frame, BrowserView* browser_view); 134 BrowserFrame* frame, BrowserView* browser_view);
135 135
136 } // namespace chrome 136 } // namespace chrome
137 137
138 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ 138 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698