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

Side by Side Diff: chrome/browser/chromeos/login/login_html_dialog.cc

Issue 8585031: [cros, Aura] Make screen_mode static variable in StatusAreaViewChromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/chromeos/login/login_html_dialog.h" 5 #include "chrome/browser/chromeos/login/login_html_dialog.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/chromeos/frame/bubble_frame_view.h" 8 #include "chrome/browser/chromeos/frame/bubble_frame_view.h"
9 #include "chrome/browser/chromeos/frame/bubble_window.h" 9 #include "chrome/browser/chromeos/frame/bubble_window.h"
10 #include "chrome/browser/chromeos/login/helper.h" 10 #include "chrome/browser/chromeos/login/helper.h"
(...skipping 12 matching lines...) Expand all
23 23
24 // Default width/height ratio of screen size. 24 // Default width/height ratio of screen size.
25 const double kDefaultWidthRatio = 0.6; 25 const double kDefaultWidthRatio = 0.6;
26 const double kDefaultHeightRatio = 0.6; 26 const double kDefaultHeightRatio = 0.6;
27 27
28 } // namespace 28 } // namespace
29 29
30 /////////////////////////////////////////////////////////////////////////////// 30 ///////////////////////////////////////////////////////////////////////////////
31 // LoginHtmlDialog, public: 31 // LoginHtmlDialog, public:
32 32
33 void LoginHtmlDialog::Delegate::OnDialogClosed() {
34 }
35
33 LoginHtmlDialog::LoginHtmlDialog(Delegate* delegate, 36 LoginHtmlDialog::LoginHtmlDialog(Delegate* delegate,
34 gfx::NativeWindow parent_window, 37 gfx::NativeWindow parent_window,
35 const std::wstring& title, 38 const std::wstring& title,
36 const GURL& url, 39 const GURL& url,
37 Style style) 40 Style style)
38 : delegate_(delegate), 41 : delegate_(delegate),
39 parent_window_(parent_window), 42 parent_window_(parent_window),
40 title_(WideToUTF16Hack(title)), 43 title_(WideToUTF16Hack(title)),
41 url_(url), 44 url_(url),
42 style_(style), 45 style_(style),
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 #if defined(USE_AURA) 146 #if defined(USE_AURA)
144 // TODO(saintlou): Do we need a throbber for Aura? 147 // TODO(saintlou): Do we need a throbber for Aura?
145 NOTIMPLEMENTED(); 148 NOTIMPLEMENTED();
146 #else 149 #else
147 if (bubble_frame_view_) 150 if (bubble_frame_view_)
148 bubble_frame_view_->StopThrobber(); 151 bubble_frame_view_->StopThrobber();
149 #endif 152 #endif
150 } 153 }
151 154
152 } // namespace chromeos 155 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_html_dialog.h ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698