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

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

Issue 8986007: Move WebUIMessageHandler to its own file in the public directory and put it in the content namesp... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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) 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"
11 #include "chrome/browser/profiles/profile_manager.h" 11 #include "chrome/browser/profiles/profile_manager.h"
12 #include "chrome/browser/ui/views/html_dialog_view.h" 12 #include "chrome/browser/ui/views/html_dialog_view.h"
13 #include "content/public/browser/notification_source.h" 13 #include "content/public/browser/notification_source.h"
14 #include "content/public/browser/notification_types.h" 14 #include "content/public/browser/notification_types.h"
15 #include "ui/gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
16 #include "ui/gfx/rect.h" 16 #include "ui/gfx/rect.h"
17 #include "ui/gfx/size.h" 17 #include "ui/gfx/size.h"
18 #include "ui/views/widget/widget.h" 18 #include "ui/views/widget/widget.h"
19 19
20 using content::WebContents; 20 using content::WebContents;
21 using content::WebUIMessageHandler;
21 22
22 namespace chromeos { 23 namespace chromeos {
23 24
24 namespace { 25 namespace {
25 26
26 // Default width/height ratio of screen size. 27 // Default width/height ratio of screen size.
27 const double kDefaultWidthRatio = 0.6; 28 const double kDefaultWidthRatio = 0.6;
28 const double kDefaultHeightRatio = 0.6; 29 const double kDefaultHeightRatio = 0.6;
29 30
30 } // namespace 31 } // namespace
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 #if defined(USE_AURA) 149 #if defined(USE_AURA)
149 // TODO(saintlou): Do we need a throbber for Aura? 150 // TODO(saintlou): Do we need a throbber for Aura?
150 NOTIMPLEMENTED(); 151 NOTIMPLEMENTED();
151 #else 152 #else
152 if (bubble_frame_view_) 153 if (bubble_frame_view_)
153 bubble_frame_view_->StopThrobber(); 154 bubble_frame_view_->StopThrobber();
154 #endif 155 #endif
155 } 156 }
156 157
157 } // namespace chromeos 158 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_html_dialog.h ('k') | chrome/browser/chromeos/sim_dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698