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

Side by Side Diff: chrome/browser/chromeos/sim_dialog_delegate.h

Issue 7461136: Convert HtmlDialogUIDelegate::GetDialogTitle() to string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 9 years, 4 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 #ifndef CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ 6 #define CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_
7 7
8 #include "chrome/browser/ui/webui/html_dialog_ui.h" 8 #include "chrome/browser/ui/webui/html_dialog_ui.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
(...skipping 13 matching lines...) Expand all
24 explicit SimDialogDelegate(SimDialogMode dialog_mode); 24 explicit SimDialogDelegate(SimDialogMode dialog_mode);
25 25
26 // Shows the SIM unlock dialog box with one of the specified modes. 26 // Shows the SIM unlock dialog box with one of the specified modes.
27 static void ShowDialog(gfx::NativeWindow owning_window, SimDialogMode mode); 27 static void ShowDialog(gfx::NativeWindow owning_window, SimDialogMode mode);
28 28
29 private: 29 private:
30 virtual ~SimDialogDelegate(); 30 virtual ~SimDialogDelegate();
31 31
32 // Overridden from HtmlDialogUI::Delegate: 32 // Overridden from HtmlDialogUI::Delegate:
33 virtual bool IsDialogModal() const OVERRIDE; 33 virtual bool IsDialogModal() const OVERRIDE;
34 virtual std::wstring GetDialogTitle() const OVERRIDE; 34 virtual string16 GetDialogTitle() const OVERRIDE;
35 virtual GURL GetDialogContentURL() const OVERRIDE; 35 virtual GURL GetDialogContentURL() const OVERRIDE;
36 virtual void GetWebUIMessageHandlers( 36 virtual void GetWebUIMessageHandlers(
37 std::vector<WebUIMessageHandler*>* handlers) const OVERRIDE; 37 std::vector<WebUIMessageHandler*>* handlers) const OVERRIDE;
38 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; 38 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE;
39 virtual std::string GetDialogArgs() const OVERRIDE; 39 virtual std::string GetDialogArgs() const OVERRIDE;
40 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 40 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE;
41 virtual void OnCloseContents( 41 virtual void OnCloseContents(
42 TabContents* source, bool* out_close_dialog) OVERRIDE; 42 TabContents* source, bool* out_close_dialog) OVERRIDE;
43 virtual bool ShouldShowDialogTitle() const OVERRIDE; 43 virtual bool ShouldShowDialogTitle() const OVERRIDE;
44 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; 44 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE;
45 45
46 SimDialogMode dialog_mode_; 46 SimDialogMode dialog_mode_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(SimDialogDelegate); 48 DISALLOW_COPY_AND_ASSIGN(SimDialogDelegate);
49 }; 49 };
50 50
51 } // namespace chromeos 51 } // namespace chromeos
52 52
53 #endif // CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ 53 #endif // CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_html_dialog.cc ('k') | chrome/browser/chromeos/sim_dialog_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698