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

Side by Side Diff: chrome/browser/modal_html_dialog_delegate.h

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 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
« no previous file with comments | « chrome/browser/jsmessage_box_handler.h ('k') | chrome/browser/net/resolve_proxy_msg_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_MODAL_HTML_DIALOG_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_
6 #define CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_ 6 #define CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/gfx/size.h" 10 #include "base/gfx/size.h"
11 #include "chrome/browser/dom_ui/html_dialog_ui.h" 11 #include "chrome/browser/dom_ui/html_dialog_ui.h"
12 #include "chrome/common/ipc_message.h"
13 #include "chrome/common/notification_registrar.h" 12 #include "chrome/common/notification_registrar.h"
13 #include "ipc/ipc_message.h"
14 14
15 // This class can only be used on the UI thread. 15 // This class can only be used on the UI thread.
16 class ModalHtmlDialogDelegate 16 class ModalHtmlDialogDelegate
17 : public HtmlDialogUIDelegate, 17 : public HtmlDialogUIDelegate,
18 public NotificationObserver { 18 public NotificationObserver {
19 public: 19 public:
20 ModalHtmlDialogDelegate(const GURL& url, 20 ModalHtmlDialogDelegate(const GURL& url,
21 int width, int height, 21 int width, int height,
22 const std::string& json_arguments, 22 const std::string& json_arguments,
23 IPC::Message* sync_result, 23 IPC::Message* sync_result,
(...skipping 25 matching lines...) Expand all
49 HtmlDialogUI::HtmlDialogParams params_; 49 HtmlDialogUI::HtmlDialogParams params_;
50 50
51 // Once we get our reply in OnModalDialogResponse we'll need to respond to the 51 // Once we get our reply in OnModalDialogResponse we'll need to respond to the
52 // plugin using this |sync_result| pointer so we store it between calls. 52 // plugin using this |sync_result| pointer so we store it between calls.
53 IPC::Message* sync_response_; 53 IPC::Message* sync_response_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(ModalHtmlDialogDelegate); 55 DISALLOW_COPY_AND_ASSIGN(ModalHtmlDialogDelegate);
56 }; 56 };
57 57
58 #endif // CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_ 58 #endif // CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/jsmessage_box_handler.h ('k') | chrome/browser/net/resolve_proxy_msg_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698