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

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

Issue 10388166: Construct a TCW for the login view's WebView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/simple_web_view_dialog.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) 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/web_contents_delegate.h" 14 #include "content/public/browser/web_contents_delegate.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "ui/views/controls/button/image_button.h" 16 #include "ui/views/controls/button/image_button.h"
17 #include "ui/views/widget/widget_delegate.h" 17 #include "ui/views/widget/widget_delegate.h"
18 18
19 class Profile; 19 class Profile;
20 class ReloadButton; 20 class ReloadButton;
21 class TabContentsWrapper;
21 class ToolbarModel; 22 class ToolbarModel;
22 23
23 namespace views { 24 namespace views {
24 class WebView; 25 class WebView;
25 class Widget; 26 class Widget;
26 } 27 }
27 28
28 namespace chromeos { 29 namespace chromeos {
29 30
30 class StubBubbleModelDelegate; 31 class StubBubbleModelDelegate;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 Profile* profile_; 96 Profile* profile_;
96 scoped_ptr<ToolbarModel> toolbar_model_; 97 scoped_ptr<ToolbarModel> toolbar_model_;
97 scoped_ptr<CommandUpdater> command_updater_; 98 scoped_ptr<CommandUpdater> command_updater_;
98 99
99 // Controls 100 // Controls
100 views::ImageButton* back_; 101 views::ImageButton* back_;
101 views::ImageButton* forward_; 102 views::ImageButton* forward_;
102 ReloadButton* reload_; 103 ReloadButton* reload_;
103 LocationBarView* location_bar_; 104 LocationBarView* location_bar_;
104 views::WebView* web_view_; 105 views::WebView* web_view_;
106 // TODO: remove, needed to create a password manager for web_view_'s WC.
107 scoped_ptr<TabContentsWrapper> wrapper_;
105 108
106 // Contains |web_view_| while it isn't owned by the view. 109 // Contains |web_view_| while it isn't owned by the view.
107 scoped_ptr<views::WebView> web_view_container_; 110 scoped_ptr<views::WebView> web_view_container_;
108 111
109 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_; 112 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_;
110 113
111 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); 114 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog);
112 }; 115 };
113 116
114 } // chromeos 117 } // chromeos
115 118
116 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_ 119 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/simple_web_view_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698