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

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

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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void set_url(const GURL& url) { url_ = url; } 53 void set_url(const GURL& url) { url_ = url; }
54 54
55 bool is_open() const { return is_open_; } 55 bool is_open() const { return is_open_; }
56 56
57 protected: 57 protected:
58 // HtmlDialogUIDelegate implementation. 58 // HtmlDialogUIDelegate implementation.
59 virtual bool IsDialogModal() const OVERRIDE; 59 virtual bool IsDialogModal() const OVERRIDE;
60 virtual string16 GetDialogTitle() const OVERRIDE; 60 virtual string16 GetDialogTitle() const OVERRIDE;
61 virtual GURL GetDialogContentURL() const OVERRIDE; 61 virtual GURL GetDialogContentURL() const OVERRIDE;
62 virtual void GetWebUIMessageHandlers( 62 virtual void GetWebUIMessageHandlers(
63 std::vector<WebUIMessageHandler*>* handlers) const OVERRIDE; 63 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE;
64 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; 64 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE;
65 virtual std::string GetDialogArgs() const OVERRIDE; 65 virtual std::string GetDialogArgs() const OVERRIDE;
66 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 66 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE;
67 virtual void OnCloseContents( 67 virtual void OnCloseContents(
68 content::WebContents* source, bool* out_close_dialog) OVERRIDE; 68 content::WebContents* source, bool* out_close_dialog) OVERRIDE;
69 virtual bool ShouldShowDialogTitle() const OVERRIDE; 69 virtual bool ShouldShowDialogTitle() const OVERRIDE;
70 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; 70 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE;
71 71
72 // content::NotificationObserver implementation. 72 // content::NotificationObserver implementation.
73 virtual void Observe(int type, 73 virtual void Observe(int type,
(...skipping 15 matching lines...) Expand all
89 // Dialog display size. 89 // Dialog display size.
90 int width_; 90 int width_;
91 int height_; 91 int height_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(LoginHtmlDialog); 93 DISALLOW_COPY_AND_ASSIGN(LoginHtmlDialog);
94 }; 94 };
95 95
96 } // namespace chromeos 96 } // namespace chromeos
97 97
98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ 98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/choose_mobile_network_dialog.cc ('k') | chrome/browser/chromeos/login/login_html_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698