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/sim_dialog_delegate.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/sim_dialog_delegate.h" 5 #include "chrome/browser/chromeos/sim_dialog_delegate.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "chrome/browser/chromeos/frame/bubble_window.h" 8 #include "chrome/browser/chromeos/frame/bubble_window.h"
9 #include "chrome/browser/chromeos/login/user_manager.h" 9 #include "chrome/browser/chromeos/login/user_manager.h"
10 #include "chrome/browser/profiles/profile_manager.h" 10 #include "chrome/browser/profiles/profile_manager.h"
11 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/ui/browser_list.h" 12 #include "chrome/browser/ui/browser_list.h"
13 #include "chrome/browser/ui/views/html_dialog_view.h" 13 #include "chrome/browser/ui/views/html_dialog_view.h"
14 #include "chrome/common/url_constants.h" 14 #include "chrome/common/url_constants.h"
15 #include "ui/views/view.h" 15 #include "ui/views/view.h"
16 #include "ui/views/widget/widget.h" 16 #include "ui/views/widget/widget.h"
17 17
18 using content::WebContents; 18 using content::WebContents;
19 using content::WebUIMessageHandler;
19 20
20 namespace { 21 namespace {
21 22
22 // Default width/height of the dialog. 23 // Default width/height of the dialog.
23 const int kDefaultWidth = 350; 24 const int kDefaultWidth = 350;
24 const int kDefaultHeight = 225; 25 const int kDefaultHeight = 225;
25 26
26 // Width/height for the change PIN dialog mode. 27 // Width/height for the change PIN dialog mode.
27 const int kChangePinWidth = 350; 28 const int kChangePinWidth = 350;
28 const int kChangePinHeight = 245; 29 const int kChangePinHeight = 245;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool SimDialogDelegate::ShouldShowDialogTitle() const { 125 bool SimDialogDelegate::ShouldShowDialogTitle() const {
125 return false; 126 return false;
126 } 127 }
127 128
128 bool SimDialogDelegate::HandleContextMenu(const ContextMenuParams& params) { 129 bool SimDialogDelegate::HandleContextMenu(const ContextMenuParams& params) {
129 // Disable context menu. 130 // Disable context menu.
130 return true; 131 return true;
131 } 132 }
132 133
133 } // namespace chromeos 134 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/sim_dialog_delegate.h ('k') | chrome/browser/printing/cloud_print/cloud_print_setup_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698