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

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

Issue 247193002: Remove touch layout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 bool IsOffTheRecord() const; 196 bool IsOffTheRecord() const;
197 197
198 // Returns true if the profile associated with this Browser window is 198 // Returns true if the profile associated with this Browser window is
199 // a guest session. 199 // a guest session.
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
207 // which layout is being shown and whether we are full-screen.
208 int GetOTRIconResourceID() const;
209
210 // Returns true if the non-client view should render an avatar icon. 206 // Returns true if the non-client view should render an avatar icon.
211 bool ShouldShowAvatar() const; 207 bool ShouldShowAvatar() const;
212 208
213 // Provides the containing frame with the accelerator for the specified 209 // Provides the containing frame with the accelerator for the specified
214 // command id. This can be used to provide menu item shortcut hints etc. 210 // command id. This can be used to provide menu item shortcut hints etc.
215 // Returns true if an accelerator was found for the specified |cmd_id|, false 211 // Returns true if an accelerator was found for the specified |cmd_id|, false
216 // otherwise. 212 // otherwise.
217 bool GetAccelerator(int cmd_id, ui::Accelerator* accelerator); 213 bool GetAccelerator(int cmd_id, ui::Accelerator* accelerator);
218 214
219 // Returns true if the specificed |accelerator| is registered with this view. 215 // Returns true if the specificed |accelerator| is registered with this view.
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 gfx::ScopedSysColorChangeListener color_change_listener_; 738 gfx::ScopedSysColorChangeListener color_change_listener_;
743 739
744 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; 740 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_;
745 741
746 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 742 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
747 743
748 DISALLOW_COPY_AND_ASSIGN(BrowserView); 744 DISALLOW_COPY_AND_ASSIGN(BrowserView);
749 }; 745 };
750 746
751 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 747 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698