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

Side by Side Diff: chrome/browser/chromeos/status/status_area_host.h

Issue 2053001: Fix crash when opening "Select certificate file" in OOBE. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: added correct way to check for OOBE/login mode Created 10 years, 7 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
« no previous file with comments | « chrome/browser/chromeos/status/network_menu_button.cc ('k') | chrome/browser/shell_dialogs.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_CHROMEOS_STATUS_STATUS_AREA_HOST_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_HOST_H_
6 #define CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_HOST_H_ 6 #define CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_HOST_H_
7 7
8 #include "gfx/native_widget_types.h" 8 #include "gfx/native_widget_types.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 19 matching lines...) Expand all
30 // shown. 30 // shown.
31 virtual bool ShouldOpenButtonOptions( 31 virtual bool ShouldOpenButtonOptions(
32 const views::View* button_view) const = 0; 32 const views::View* button_view) const = 0;
33 33
34 // Opens options dialog related to the button specified. 34 // Opens options dialog related to the button specified.
35 virtual void OpenButtonOptions(const views::View* button_view) const = 0; 35 virtual void OpenButtonOptions(const views::View* button_view) const = 0;
36 36
37 // Indicates if the button specified should be visible at the moment. 37 // Indicates if the button specified should be visible at the moment.
38 virtual bool IsButtonVisible(const views::View* button_view) const = 0; 38 virtual bool IsButtonVisible(const views::View* button_view) const = 0;
39 39
40 // True if status area hosted in browser. Otherwise it's OOBE/login state.
41 virtual bool IsBrowserMode() const = 0;
42
40 protected: 43 protected:
41 virtual ~StatusAreaHost() {} 44 virtual ~StatusAreaHost() {}
42 }; 45 };
43 46
44 } // namespace chromeos 47 } // namespace chromeos
45 48
46 #endif // CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_HOST_H_ 49 #endif // CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_HOST_H_
47 50
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/network_menu_button.cc ('k') | chrome/browser/shell_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698