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

Side by Side Diff: chrome/browser/ui/cocoa/web_dialog_window_controller.h

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #import "base/mac/cocoa_protocols.h" 12 #import "base/mac/cocoa_protocols.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "ui/web_dialogs/web_dialog_ui.h" 14 #include "ui/web_dialogs/web_dialog_ui.h"
15 15
16 class Browser; 16 class Browser;
17 class WebDialogWindowDelegateBridge; 17 class WebDialogWindowDelegateBridge;
18 class Profile; 18 class Profile;
19 class TabContentsWrapper; 19 class TabContents;
20 typedef TabContents TabContentsWrapper;
20 21
21 // This controller manages a dialog box with properties and HTML content taken 22 // This controller manages a dialog box with properties and HTML content taken
22 // from a WebDialogDelegate object. 23 // from a WebDialogDelegate object.
23 @interface WebDialogWindowController : NSWindowController<NSWindowDelegate> { 24 @interface WebDialogWindowController : NSWindowController<NSWindowDelegate> {
24 @private 25 @private
25 // Order here is important, as tab_contents_ may send messages to 26 // Order here is important, as tab_contents_ may send messages to
26 // delegate_ when it gets destroyed. 27 // delegate_ when it gets destroyed.
27 scoped_ptr<WebDialogWindowDelegateBridge> delegate_; 28 scoped_ptr<WebDialogWindowDelegateBridge> delegate_;
28 scoped_ptr<TabContentsWrapper> contentsWrapper_; 29 scoped_ptr<TabContentsWrapper> contentsWrapper_;
29 } 30 }
(...skipping 20 matching lines...) Expand all
50 browser:(Browser*)browser; 51 browser:(Browser*)browser;
51 52
52 // Loads the HTML content from the delegate; this is not a lightweight 53 // Loads the HTML content from the delegate; this is not a lightweight
53 // process which is why it is not part of the constructor. Must be 54 // process which is why it is not part of the constructor. Must be
54 // called before showWindow. 55 // called before showWindow.
55 - (void)loadDialogContents; 56 - (void)loadDialogContents;
56 57
57 @end 58 @end
58 59
59 #endif // CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_ 60 #endif // CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h ('k') | chrome/browser/ui/cocoa/web_intent_picker_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698