| 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> |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 virtual void OnWebContentsAttached() {} | 106 virtual void OnWebContentsAttached() {} |
| 107 | 107 |
| 108 // Overridden from View: | 108 // Overridden from View: |
| 109 void OnBoundsChanged(const gfx::Rect& previous_bounds) override; | 109 void OnBoundsChanged(const gfx::Rect& previous_bounds) override; |
| 110 void ViewHierarchyChanged( | 110 void ViewHierarchyChanged( |
| 111 const ViewHierarchyChangedDetails& details) override; | 111 const ViewHierarchyChangedDetails& details) override; |
| 112 bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) override; | 112 bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) override; |
| 113 bool OnMousePressed(const ui::MouseEvent& event) override; | 113 bool OnMousePressed(const ui::MouseEvent& event) override; |
| 114 void OnFocus() override; | 114 void OnFocus() override; |
| 115 void AboutToRequestFocusFromTabTraversal(bool reverse) override; | 115 void AboutToRequestFocusFromTabTraversal(bool reverse) override; |
| 116 void GetAccessibleState(ui::AXViewState* state) override; | 116 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 117 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 117 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
| 118 gfx::Size GetPreferredSize() const override; | 118 gfx::Size GetPreferredSize() const override; |
| 119 | 119 |
| 120 // Overridden from content::RenderProcessHostObserver: | 120 // Overridden from content::RenderProcessHostObserver: |
| 121 void RenderProcessExited(content::RenderProcessHost* host, | 121 void RenderProcessExited(content::RenderProcessHost* host, |
| 122 base::TerminationStatus status, | 122 base::TerminationStatus status, |
| 123 int exit_code) override; | 123 int exit_code) override; |
| 124 void RenderProcessHostDestroyed(content::RenderProcessHost* host) override; | 124 void RenderProcessHostDestroyed(content::RenderProcessHost* host) override; |
| 125 | 125 |
| 126 // Overridden from content::WebContentsDelegate: | 126 // Overridden from content::WebContentsDelegate: |
| (...skipping 48 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 |