| 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 "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/web_contents_delegate.h" | 10 #include "content/public/browser/web_contents_delegate.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; | 101 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; |
| 102 virtual void ViewHierarchyChanged( | 102 virtual void ViewHierarchyChanged( |
| 103 const ViewHierarchyChangedDetails& details) OVERRIDE; | 103 const ViewHierarchyChangedDetails& details) OVERRIDE; |
| 104 virtual bool SkipDefaultKeyEventProcessing( | 104 virtual bool SkipDefaultKeyEventProcessing( |
| 105 const ui::KeyEvent& event) OVERRIDE; | 105 const ui::KeyEvent& event) OVERRIDE; |
| 106 virtual bool IsFocusable() const OVERRIDE; | 106 virtual bool IsFocusable() const OVERRIDE; |
| 107 virtual void OnFocus() OVERRIDE; | 107 virtual void OnFocus() OVERRIDE; |
| 108 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE; | 108 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE; |
| 109 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; | 109 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
| 110 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 110 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
| 111 virtual gfx::Size GetPreferredSize() OVERRIDE; | 111 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
| 112 | 112 |
| 113 // Overridden from content::WebContentsDelegate: | 113 // Overridden from content::WebContentsDelegate: |
| 114 virtual void WebContentsFocused(content::WebContents* web_contents) OVERRIDE; | 114 virtual void WebContentsFocused(content::WebContents* web_contents) OVERRIDE; |
| 115 virtual bool EmbedsFullscreenWidget() const OVERRIDE; | 115 virtual bool EmbedsFullscreenWidget() const OVERRIDE; |
| 116 | 116 |
| 117 // Overridden from content::WebContentsObserver: | 117 // Overridden from content::WebContentsObserver: |
| 118 virtual void RenderViewDeleted( | 118 virtual void RenderViewDeleted( |
| 119 content::RenderViewHost* render_view_host) OVERRIDE; | 119 content::RenderViewHost* render_view_host) OVERRIDE; |
| 120 virtual void RenderViewHostChanged( | 120 virtual void RenderViewHostChanged( |
| 121 content::RenderViewHost* old_host, | 121 content::RenderViewHost* old_host, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 152 content::BrowserContext* browser_context_; | 152 content::BrowserContext* browser_context_; |
| 153 bool allow_accelerators_; | 153 bool allow_accelerators_; |
| 154 gfx::Size preferred_size_; | 154 gfx::Size preferred_size_; |
| 155 | 155 |
| 156 DISALLOW_COPY_AND_ASSIGN(WebView); | 156 DISALLOW_COPY_AND_ASSIGN(WebView); |
| 157 }; | 157 }; |
| 158 | 158 |
| 159 } // namespace views | 159 } // namespace views |
| 160 | 160 |
| 161 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ | 161 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ |
| OLD | NEW |