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

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

Issue 212603011: Newly created profiles should have the grey silhouette as avatar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase reviewed Created 6 years, 8 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_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 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 bool IsGuestSession() const; 200 bool IsGuestSession() const;
201 201
202 // Returns true if the profile associated with this Browser window is 202 // Returns true if the profile associated with this Browser window is
203 // not off the record or a guest session. 203 // not off the record or a guest session.
204 bool IsRegularOrGuestSession() const; 204 bool IsRegularOrGuestSession() const;
205 205
206 // Returns the resource ID to use for the OTR icon, which depends on 206 // Returns the resource ID to use for the OTR icon, which depends on
207 // which layout is being shown and whether we are full-screen. 207 // which layout is being shown and whether we are full-screen.
208 int GetOTRIconResourceID() const; 208 int GetOTRIconResourceID() const;
209 209
210 // Returns the resource ID to use for the Guest icon, which may depend on
211 // which layout is being shown and whether we are full-screen.
212 int GetGuestIconResourceID() const;
213
214 // Returns true if the non-client view should render an avatar icon. 210 // Returns true if the non-client view should render an avatar icon.
215 bool ShouldShowAvatar() const; 211 bool ShouldShowAvatar() const;
216 212
217 // Provides the containing frame with the accelerator for the specified 213 // Provides the containing frame with the accelerator for the specified
218 // command id. This can be used to provide menu item shortcut hints etc. 214 // command id. This can be used to provide menu item shortcut hints etc.
219 // Returns true if an accelerator was found for the specified |cmd_id|, false 215 // Returns true if an accelerator was found for the specified |cmd_id|, false
220 // otherwise. 216 // otherwise.
221 bool GetAccelerator(int cmd_id, ui::Accelerator* accelerator); 217 bool GetAccelerator(int cmd_id, ui::Accelerator* accelerator);
222 218
223 // Returns true if the specificed |accelerator| is registered with this view. 219 // Returns true if the specificed |accelerator| is registered with this view.
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 gfx::ScopedSysColorChangeListener color_change_listener_; 742 gfx::ScopedSysColorChangeListener color_change_listener_;
747 743
748 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; 744 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_;
749 745
750 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 746 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
751 747
752 DISALLOW_COPY_AND_ASSIGN(BrowserView); 748 DISALLOW_COPY_AND_ASSIGN(BrowserView);
753 }; 749 };
754 750
755 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 751 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_non_client_frame_view.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698