| OLD | NEW |
| 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 CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 14 #include "content/public/browser/page_navigator.h" | 14 #include "content/public/browser/page_navigator.h" |
| 15 #include "content/public/browser/save_page_type.h" | 15 #include "content/public/browser/save_page_type.h" |
| 16 #include "content/public/browser/web_ui.h" | 16 #include "content/public/browser/web_ui.h" |
| 17 #include "content/public/common/view_type.h" | 17 #include "content/public/common/view_type.h" |
| 18 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
| 19 #include "webkit/glue/window_open_disposition.h" | 19 #include "webkit/glue/window_open_disposition.h" |
| 20 | 20 |
| 21 class RenderViewHost; | |
| 22 | |
| 23 namespace base { | 21 namespace base { |
| 24 class PropertyBag; | 22 class PropertyBag; |
| 25 class TimeTicks; | 23 class TimeTicks; |
| 26 } | 24 } |
| 27 | 25 |
| 28 namespace gfx { | 26 namespace gfx { |
| 29 class Rect; | 27 class Rect; |
| 30 class Size; | 28 class Size; |
| 31 } | 29 } |
| 32 | 30 |
| 33 namespace net { | 31 namespace net { |
| 34 struct LoadStateWithParam; | 32 struct LoadStateWithParam; |
| 35 } | 33 } |
| 36 | 34 |
| 37 namespace content { | 35 namespace content { |
| 38 | 36 |
| 39 class BrowserContext; | 37 class BrowserContext; |
| 40 class InterstitialPage; | 38 class InterstitialPage; |
| 41 class NavigationController; | 39 class NavigationController; |
| 42 class RenderProcessHost; | 40 class RenderProcessHost; |
| 41 class RenderViewHost; |
| 43 class RenderWidgetHostView; | 42 class RenderWidgetHostView; |
| 44 class SessionStorageNamespace; | 43 class SessionStorageNamespace; |
| 45 class SiteInstance; | 44 class SiteInstance; |
| 46 class WebContentsDelegate; | 45 class WebContentsDelegate; |
| 47 class WebContentsView; | 46 class WebContentsView; |
| 48 struct RendererPreferences; | 47 struct RendererPreferences; |
| 49 | 48 |
| 50 // Describes what goes in the main content area of a tab. | 49 // Describes what goes in the main content area of a tab. |
| 51 class WebContents : public PageNavigator { | 50 class WebContents : public PageNavigator { |
| 52 public: | 51 public: |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 // to see what it should do. | 361 // to see what it should do. |
| 363 virtual bool FocusLocationBarByDefault() = 0; | 362 virtual bool FocusLocationBarByDefault() = 0; |
| 364 | 363 |
| 365 // Focuses the location bar. | 364 // Focuses the location bar. |
| 366 virtual void SetFocusToLocationBar(bool select_all) = 0; | 365 virtual void SetFocusToLocationBar(bool select_all) = 0; |
| 367 }; | 366 }; |
| 368 | 367 |
| 369 } // namespace content | 368 } // namespace content |
| 370 | 369 |
| 371 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 370 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
| OLD | NEW |