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

Side by Side Diff: chrome/browser/ui/extensions/shell_window.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_EXTENSIONS_SHELL_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ 6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/extensions/extension_function_dispatcher.h" 10 #include "chrome/browser/extensions/extension_function_dispatcher.h"
11 #include "chrome/browser/sessions/session_id.h" 11 #include "chrome/browser/sessions/session_id.h"
12 #include "chrome/browser/ui/base_window.h" 12 #include "chrome/browser/ui/base_window.h"
13 #include "content/public/browser/notification_observer.h" 13 #include "content/public/browser/notification_observer.h"
14 #include "content/public/browser/notification_registrar.h" 14 #include "content/public/browser/notification_registrar.h"
15 #include "content/public/browser/web_contents_delegate.h" 15 #include "content/public/browser/web_contents_delegate.h"
16 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
17 #include "ui/gfx/rect.h" 17 #include "ui/gfx/rect.h"
18 18
19 class ExtensionWindowController; 19 class ExtensionWindowController;
20 class GURL; 20 class GURL;
21 class Profile; 21 class Profile;
22 class TabContentsWrapper; 22 class TabContents;
23 typedef TabContents TabContentsWrapper;
23 24
24 namespace content { 25 namespace content {
25 class WebContents; 26 class WebContents;
26 } 27 }
27 28
28 namespace extensions { 29 namespace extensions {
29 class Extension; 30 class Extension;
30 } 31 }
31 32
32 // ShellWindow is the type of window used by platform apps. Shell windows 33 // ShellWindow is the type of window used by platform apps. Shell windows
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // web_contents_ is owned by contents_wrapper_. 128 // web_contents_ is owned by contents_wrapper_.
128 content::WebContents* web_contents_; 129 content::WebContents* web_contents_;
129 content::NotificationRegistrar registrar_; 130 content::NotificationRegistrar registrar_;
130 scoped_ptr<ExtensionWindowController> extension_window_controller_; 131 scoped_ptr<ExtensionWindowController> extension_window_controller_;
131 ExtensionFunctionDispatcher extension_function_dispatcher_; 132 ExtensionFunctionDispatcher extension_function_dispatcher_;
132 133
133 DISALLOW_COPY_AND_ASSIGN(ShellWindow); 134 DISALLOW_COPY_AND_ASSIGN(ShellWindow);
134 }; 135 };
135 136
136 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ 137 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698