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

Side by Side Diff: chrome/browser/printing/cloud_print/cloud_print_setup_flow.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_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_
6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const base::WeakPtr<Delegate>& delegate, 64 const base::WeakPtr<Delegate>& delegate,
65 gfx::NativeWindow parent_window); 65 gfx::NativeWindow parent_window);
66 66
67 // Focuses the dialog. This is useful in cases where the dialog has been 67 // Focuses the dialog. This is useful in cases where the dialog has been
68 // obscured by a browser window. 68 // obscured by a browser window.
69 void Focus(); 69 void Focus();
70 70
71 // HtmlDialogUIDelegate implementation. 71 // HtmlDialogUIDelegate implementation.
72 virtual GURL GetDialogContentURL() const OVERRIDE; 72 virtual GURL GetDialogContentURL() const OVERRIDE;
73 virtual void GetWebUIMessageHandlers( 73 virtual void GetWebUIMessageHandlers(
74 std::vector<WebUIMessageHandler*>* handlers) const OVERRIDE; 74 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE;
75 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; 75 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE;
76 virtual std::string GetDialogArgs() const OVERRIDE; 76 virtual std::string GetDialogArgs() const OVERRIDE;
77 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 77 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE;
78 virtual void OnCloseContents(content::WebContents* source, 78 virtual void OnCloseContents(content::WebContents* source,
79 bool* out_close_dialog) OVERRIDE; 79 bool* out_close_dialog) OVERRIDE;
80 virtual string16 GetDialogTitle() const OVERRIDE; 80 virtual string16 GetDialogTitle() const OVERRIDE;
81 virtual bool IsDialogModal() const OVERRIDE; 81 virtual bool IsDialogModal() const OVERRIDE;
82 virtual bool ShouldShowDialogTitle() const OVERRIDE; 82 virtual bool ShouldShowDialogTitle() const OVERRIDE;
83 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; 83 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE;
84 84
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 bool setup_done_; 142 bool setup_done_;
143 143
144 // Handle to the ServiceProcessControl which talks to the service process. 144 // Handle to the ServiceProcessControl which talks to the service process.
145 ServiceProcessControl* process_control_; 145 ServiceProcessControl* process_control_;
146 base::WeakPtr<Delegate> delegate_; 146 base::WeakPtr<Delegate> delegate_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupFlow); 148 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupFlow);
149 }; 149 };
150 150
151 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ 151 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/sim_dialog_delegate.cc ('k') | chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698