| 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 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "content/public/browser/render_process_host_observer.h" | 13 #include "content/public/browser/render_process_host_observer.h" |
| 14 #include "content/public/browser/web_contents_delegate.h" | 14 #include "content/public/browser/web_contents_delegate.h" |
| 15 #include "content/public/browser/web_contents_observer.h" | 15 #include "content/public/browser/web_contents_observer.h" |
| 16 #include "ui/views/accessibility/native_view_accessibility.h" | 16 #include "ui/gfx/native_widget_types.h" |
| 17 #include "ui/views/controls/webview/webview_export.h" | 17 #include "ui/views/controls/webview/webview_export.h" |
| 18 #include "ui/views/view.h" | 18 #include "ui/views/view.h" |
| 19 | 19 |
| 20 namespace views { | 20 namespace views { |
| 21 | 21 |
| 22 class NativeViewHost; | 22 class NativeViewHost; |
| 23 | 23 |
| 24 // Provides a view of a WebContents instance. WebView can be used standalone, | 24 // Provides a view of a WebContents instance. WebView can be used standalone, |
| 25 // creating and displaying an internally-owned WebContents; or within a full | 25 // creating and displaying an internally-owned WebContents; or within a full |
| 26 // browser where the browser swaps its own WebContents instances in/out (e.g., | 26 // browser where the browser swaps its own WebContents instances in/out (e.g., |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 content::BrowserContext* browser_context_; | 175 content::BrowserContext* browser_context_; |
| 176 bool allow_accelerators_; | 176 bool allow_accelerators_; |
| 177 gfx::Size preferred_size_; | 177 gfx::Size preferred_size_; |
| 178 | 178 |
| 179 DISALLOW_COPY_AND_ASSIGN(WebView); | 179 DISALLOW_COPY_AND_ASSIGN(WebView); |
| 180 }; | 180 }; |
| 181 | 181 |
| 182 } // namespace views | 182 } // namespace views |
| 183 | 183 |
| 184 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ | 184 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ |
| OLD | NEW |