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

Side by Side Diff: ui/views/controls/webview/webview.h

Issue 11474002: Cleanup of removing unnecessary web_contents.h include from webview.h. This is split off from https… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years 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 | « content/shell/shell_aura.cc ('k') | ui/views/controls/webview/webview.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 UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ 5 #ifndef UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_
6 #define UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ 6 #define UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
11 #include "content/public/browser/notification_registrar.h" 11 #include "content/public/browser/notification_registrar.h"
12 #include "content/public/browser/web_contents.h"
13 #include "content/public/browser/web_contents_delegate.h" 12 #include "content/public/browser/web_contents_delegate.h"
14 #include "ui/views/controls/webview/webview_export.h" 13 #include "ui/views/controls/webview/webview_export.h"
15 #include "ui/views/view.h" 14 #include "ui/views/view.h"
16 15
16 namespace content {
17 class SiteInstance;
18 }
19
17 namespace views { 20 namespace views {
18 21
19 class NativeViewHost; 22 class NativeViewHost;
20 23
21 class WEBVIEW_EXPORT WebView : public View, 24 class WEBVIEW_EXPORT WebView : public View,
22 public content::NotificationObserver, 25 public content::NotificationObserver,
23 public content::WebContentsDelegate { 26 public content::WebContentsDelegate {
24 public: 27 public:
25 static const char kViewClassName[]; 28 static const char kViewClassName[];
26 29
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 content::NotificationRegistrar registrar_; 124 content::NotificationRegistrar registrar_;
122 bool allow_accelerators_; 125 bool allow_accelerators_;
123 gfx::Size preferred_size_; 126 gfx::Size preferred_size_;
124 127
125 DISALLOW_COPY_AND_ASSIGN(WebView); 128 DISALLOW_COPY_AND_ASSIGN(WebView);
126 }; 129 };
127 130
128 } // namespace views 131 } // namespace views
129 132
130 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ 133 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_
OLDNEW
« no previous file with comments | « content/shell/shell_aura.cc ('k') | ui/views/controls/webview/webview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698