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

Side by Side Diff: chrome/browser/chromeos/choose_mobile_network_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/choose_mobile_network_dialog.h" 5 #include "chrome/browser/chromeos/choose_mobile_network_dialog.h"
6 6
7 #include "chrome/browser/chromeos/frame/bubble_window.h" 7 #include "chrome/browser/chromeos/frame/bubble_window.h"
8 #include "chrome/browser/chromeos/login/user_manager.h" 8 #include "chrome/browser/chromeos/login/user_manager.h"
9 #include "chrome/browser/profiles/profile_manager.h" 9 #include "chrome/browser/profiles/profile_manager.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/browser/ui/browser_list.h" 11 #include "chrome/browser/ui/browser_list.h"
12 #include "chrome/browser/ui/views/html_dialog_view.h" 12 #include "chrome/browser/ui/views/html_dialog_view.h"
13 #include "chrome/common/url_constants.h" 13 #include "chrome/common/url_constants.h"
14 #include "ui/views/view.h" 14 #include "ui/views/view.h"
15 #include "ui/views/widget/widget.h" 15 #include "ui/views/widget/widget.h"
16 16
17 using content::WebContents; 17 using content::WebContents;
18 using content::WebUIMessageHandler;
18 19
19 namespace { 20 namespace {
20 21
21 // Default width/height of the dialog. 22 // Default width/height of the dialog.
22 const int kDefaultWidth = 350; 23 const int kDefaultWidth = 350;
23 const int kDefaultHeight = 225; 24 const int kDefaultHeight = 225;
24 25
25 } // namespace 26 } // namespace
26 27
27 namespace chromeos { 28 namespace chromeos {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 return false; 85 return false;
85 } 86 }
86 87
87 bool ChooseMobileNetworkDialog::HandleContextMenu( 88 bool ChooseMobileNetworkDialog::HandleContextMenu(
88 const ContextMenuParams& params) { 89 const ContextMenuParams& params) {
89 // Disable context menu. 90 // Disable context menu.
90 return true; 91 return true;
91 } 92 }
92 93
93 } // namespace chromeos 94 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/choose_mobile_network_dialog.h ('k') | chrome/browser/chromeos/login/login_html_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698