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

Side by Side Diff: chrome/browser/printing/print_dialog_cloud_internal.h

Issue 9382037: Move ContextMenuParams struct from webkit/glue to content/public/common. The reasons are: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PRINT_DIALOG_CLOUD_INTERNAL_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 virtual string16 GetDialogTitle() const OVERRIDE; 175 virtual string16 GetDialogTitle() const OVERRIDE;
176 virtual GURL GetDialogContentURL() const OVERRIDE; 176 virtual GURL GetDialogContentURL() const OVERRIDE;
177 virtual void GetWebUIMessageHandlers( 177 virtual void GetWebUIMessageHandlers(
178 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE; 178 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE;
179 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; 179 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE;
180 virtual std::string GetDialogArgs() const OVERRIDE; 180 virtual std::string GetDialogArgs() const OVERRIDE;
181 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 181 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE;
182 virtual void OnCloseContents(content::WebContents* source, 182 virtual void OnCloseContents(content::WebContents* source,
183 bool* out_close_dialog) OVERRIDE; 183 bool* out_close_dialog) OVERRIDE;
184 virtual bool ShouldShowDialogTitle() const OVERRIDE; 184 virtual bool ShouldShowDialogTitle() const OVERRIDE;
185 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; 185 virtual bool HandleContextMenu(
186 const content::ContextMenuParams& params) OVERRIDE;
186 187
187 private: 188 private:
188 friend class ::CloudPrintHtmlDialogDelegateTest; 189 friend class ::CloudPrintHtmlDialogDelegateTest;
189 190
190 // For unit testing. 191 // For unit testing.
191 CloudPrintHtmlDialogDelegate(CloudPrintFlowHandler* flow_handler, 192 CloudPrintHtmlDialogDelegate(CloudPrintFlowHandler* flow_handler,
192 int width, int height, 193 int width, int height,
193 const std::string& json_arguments, 194 const std::string& json_arguments,
194 bool modal, 195 bool modal,
195 bool delete_on_close); 196 bool delete_on_close);
(...skipping 17 matching lines...) Expand all
213 const std::string& file_type, 214 const std::string& file_type,
214 bool modal, 215 bool modal,
215 bool delete_on_close); 216 bool delete_on_close);
216 void CreateDialogSigninImpl(const base::Closure& callback); 217 void CreateDialogSigninImpl(const base::Closure& callback);
217 218
218 void Delete(const FilePath& path_to_file); 219 void Delete(const FilePath& path_to_file);
219 220
220 } // namespace internal_cloud_print_helpers 221 } // namespace internal_cloud_print_helpers
221 222
222 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ 223 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698