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

Side by Side Diff: chrome/browser/chromeos/login/simple_web_view_dialog.h

Issue 10532056: TabContentsWrapper -> TabContents, part 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small 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_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/browser/command_updater.h" 11 #include "chrome/browser/command_updater.h"
12 #include "chrome/browser/ui/toolbar/toolbar_model_delegate.h" 12 #include "chrome/browser/ui/toolbar/toolbar_model_delegate.h"
13 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" 13 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
14 #include "content/public/browser/page_navigator.h" 14 #include "content/public/browser/page_navigator.h"
15 #include "content/public/browser/web_contents_delegate.h" 15 #include "content/public/browser/web_contents_delegate.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "ui/views/controls/button/image_button.h" 17 #include "ui/views/controls/button/image_button.h"
18 #include "ui/views/widget/widget_delegate.h" 18 #include "ui/views/widget/widget_delegate.h"
19 19
20 class Profile; 20 class Profile;
21 class ReloadButton; 21 class ReloadButton;
22 class TabContents; 22 class TabContents;
23 typedef TabContents TabContentsWrapper;
24 class ToolbarModel; 23 class ToolbarModel;
25 24
26 namespace views { 25 namespace views {
27 class WebView; 26 class WebView;
28 class Widget; 27 class Widget;
29 } 28 }
30 29
31 namespace chromeos { 30 namespace chromeos {
32 31
33 class StubBubbleModelDelegate; 32 class StubBubbleModelDelegate;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 scoped_ptr<ToolbarModel> toolbar_model_; 103 scoped_ptr<ToolbarModel> toolbar_model_;
105 scoped_ptr<CommandUpdater> command_updater_; 104 scoped_ptr<CommandUpdater> command_updater_;
106 105
107 // Controls 106 // Controls
108 views::ImageButton* back_; 107 views::ImageButton* back_;
109 views::ImageButton* forward_; 108 views::ImageButton* forward_;
110 ReloadButton* reload_; 109 ReloadButton* reload_;
111 LocationBarView* location_bar_; 110 LocationBarView* location_bar_;
112 views::WebView* web_view_; 111 views::WebView* web_view_;
113 // TODO: remove, needed to create a password manager for web_view_'s WC. 112 // TODO: remove, needed to create a password manager for web_view_'s WC.
114 scoped_ptr<TabContentsWrapper> wrapper_; 113 scoped_ptr<TabContents> tab_contents_;
115 114
116 // Contains |web_view_| while it isn't owned by the view. 115 // Contains |web_view_| while it isn't owned by the view.
117 scoped_ptr<views::WebView> web_view_container_; 116 scoped_ptr<views::WebView> web_view_container_;
118 117
119 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_; 118 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_;
120 119
121 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); 120 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog);
122 }; 121 };
123 122
124 } // chromeos 123 } // chromeos
125 124
126 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_ 125 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager_util.cc ('k') | chrome/browser/chromeos/login/simple_web_view_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698