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

Side by Side Diff: chrome/browser/chromeos/frame/browser_view.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 | « no previous file | chrome/browser/chromeos/frame/browser_view.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) 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_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
7 7
8 #include "chrome/browser/chromeos/status/status_area_host.h" 8 #include "chrome/browser/chromeos/status/status_area_host.h"
9 #include "chrome/browser/views/frame/browser_view.h" 9 #include "chrome/browser/views/frame/browser_view.h"
10 #include "views/controls/button/button.h" 10 #include "views/controls/button/button.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const gfx::Point& p, 75 const gfx::Point& p,
76 bool is_mouse_gesture); 76 bool is_mouse_gesture);
77 77
78 // StatusAreaHost overrides. 78 // StatusAreaHost overrides.
79 virtual Profile* GetProfile() const; 79 virtual Profile* GetProfile() const;
80 virtual gfx::NativeWindow GetNativeWindow() const; 80 virtual gfx::NativeWindow GetNativeWindow() const;
81 virtual bool ShouldOpenButtonOptions( 81 virtual bool ShouldOpenButtonOptions(
82 const views::View* button_view) const; 82 const views::View* button_view) const;
83 virtual void OpenButtonOptions(const views::View* button_view) const; 83 virtual void OpenButtonOptions(const views::View* button_view) const;
84 virtual bool IsButtonVisible(const views::View* button_view) const; 84 virtual bool IsButtonVisible(const views::View* button_view) const;
85 virtual bool IsBrowserMode() const;
85 86
86 // Shows the compact location bar under the selected tab. 87 // Shows the compact location bar under the selected tab.
87 void ShowCompactLocationBarUnderSelectedTab(bool select_all); 88 void ShowCompactLocationBarUnderSelectedTab(bool select_all);
88 89
89 // Returns true if the ui style is in Compact mode. 90 // Returns true if the ui style is in Compact mode.
90 bool is_compact_style() const { 91 bool is_compact_style() const {
91 return ui_style_ == CompactStyle; 92 return ui_style_ == CompactStyle;
92 } 93 }
93 94
94 private: 95 private:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 132
132 // Menu button shown in status area when browser is in compact mode. 133 // Menu button shown in status area when browser is in compact mode.
133 StatusAreaButton* menu_view_; 134 StatusAreaButton* menu_view_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(BrowserView); 136 DISALLOW_COPY_AND_ASSIGN(BrowserView);
136 }; 137 };
137 138
138 } // namespace chromeos 139 } // namespace chromeos
139 140
140 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 141 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698