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

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

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 years, 4 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/history/redirect_uitest.cc ('k') | chrome/browser/modal_html_dialog_delegate.cc » ('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 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/browser/dom_ui/html_dialog_ui.h" 11 #include "chrome/browser/dom_ui/html_dialog_ui.h"
12 #include "chrome/common/notification_registrar.h" 12 #include "chrome/common/notification_registrar.h"
13 #include "gfx/size.h" 13
14 #include "ipc/ipc_message.h" 14 namespace gfx {
15 class Size;
16 }
17
18 namespace IPC {
19 class Message;
20 }
15 21
16 // This class can only be used on the UI thread. 22 // This class can only be used on the UI thread.
17 class ModalHtmlDialogDelegate 23 class ModalHtmlDialogDelegate
18 : public HtmlDialogUIDelegate, 24 : public HtmlDialogUIDelegate,
19 public NotificationObserver { 25 public NotificationObserver {
20 public: 26 public:
21 ModalHtmlDialogDelegate(const GURL& url, 27 ModalHtmlDialogDelegate(const GURL& url,
22 int width, int height, 28 int width, int height,
23 const std::string& json_arguments, 29 const std::string& json_arguments,
24 IPC::Message* sync_result, 30 IPC::Message* sync_result,
(...skipping 26 matching lines...) Expand all
51 HtmlDialogUI::HtmlDialogParams params_; 57 HtmlDialogUI::HtmlDialogParams params_;
52 58
53 // Once we get our reply in OnModalDialogResponse we'll need to respond to the 59 // Once we get our reply in OnModalDialogResponse we'll need to respond to the
54 // plugin using this |sync_result| pointer so we store it between calls. 60 // plugin using this |sync_result| pointer so we store it between calls.
55 IPC::Message* sync_response_; 61 IPC::Message* sync_response_;
56 62
57 DISALLOW_COPY_AND_ASSIGN(ModalHtmlDialogDelegate); 63 DISALLOW_COPY_AND_ASSIGN(ModalHtmlDialogDelegate);
58 }; 64 };
59 65
60 #endif // CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_ 66 #endif // CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/redirect_uitest.cc ('k') | chrome/browser/modal_html_dialog_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698