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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 public: 94 public:
95 explicit CloudPrintFlowHandler(const FilePath& path_to_file, 95 explicit CloudPrintFlowHandler(const FilePath& path_to_file,
96 const string16& print_job_title, 96 const string16& print_job_title,
97 const std::string& file_type); 97 const std::string& file_type);
98 virtual ~CloudPrintFlowHandler(); 98 virtual ~CloudPrintFlowHandler();
99 99
100 // WebUIMessageHandler implementation. 100 // WebUIMessageHandler implementation.
101 virtual void RegisterMessages(); 101 virtual void RegisterMessages();
102 102
103 // NotificationObserver implementation. 103 // NotificationObserver implementation.
104 virtual void Observe(NotificationType type, 104 virtual void Observe(int type,
105 const NotificationSource& source, 105 const NotificationSource& source,
106 const NotificationDetails& details); 106 const NotificationDetails& details);
107 107
108 // Callbacks from the page. 108 // Callbacks from the page.
109 void HandleShowDebugger(const ListValue* args); 109 void HandleShowDebugger(const ListValue* args);
110 void HandleSendPrintData(const ListValue* args); 110 void HandleSendPrintData(const ListValue* args);
111 void HandleSetPageParameters(const ListValue* args); 111 void HandleSetPageParameters(const ListValue* args);
112 112
113 virtual void SetDialogDelegate(CloudPrintHtmlDialogDelegate *delegate); 113 virtual void SetDialogDelegate(CloudPrintHtmlDialogDelegate *delegate);
114 void StoreDialogClientSize() const; 114 void StoreDialogClientSize() const;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 void CreateDialogImpl(const FilePath& path_to_file, 184 void CreateDialogImpl(const FilePath& path_to_file,
185 const string16& print_job_title, 185 const string16& print_job_title,
186 const std::string& file_type, 186 const std::string& file_type,
187 bool modal); 187 bool modal);
188 188
189 void Delete(const FilePath& path_to_file); 189 void Delete(const FilePath& path_to_file);
190 190
191 } // namespace internal_cloud_print_helpers 191 } // namespace internal_cloud_print_helpers
192 192
193 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ 193 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | chrome/browser/printing/print_dialog_cloud_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698