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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 125 |
126 // Overridden from content::WebContentsDelegate: | 126 // Overridden from content::WebContentsDelegate: |
127 bool EmbedsFullscreenWidget() const override; | 127 bool EmbedsFullscreenWidget() const override; |
128 | 128 |
129 // Overridden from content::WebContentsObserver: | 129 // Overridden from content::WebContentsObserver: |
130 void RenderViewReady() override; | 130 void RenderViewReady() override; |
131 void RenderViewDeleted(content::RenderViewHost* render_view_host) override; | 131 void RenderViewDeleted(content::RenderViewHost* render_view_host) override; |
132 void RenderViewHostChanged(content::RenderViewHost* old_host, | 132 void RenderViewHostChanged(content::RenderViewHost* old_host, |
133 content::RenderViewHost* new_host) override; | 133 content::RenderViewHost* new_host) override; |
134 void WebContentsDestroyed() override; | 134 void WebContentsDestroyed() override; |
135 void DidShowFullscreenWidget(int routing_id) override; | 135 void DidShowFullscreenWidget() override; |
136 void DidDestroyFullscreenWidget(int routing_id) override; | 136 void DidDestroyFullscreenWidget() override; |
137 void DidToggleFullscreenModeForTab(bool entered_fullscreen, | 137 void DidToggleFullscreenModeForTab(bool entered_fullscreen, |
138 bool will_cause_resize) override; | 138 bool will_cause_resize) override; |
139 void DidAttachInterstitialPage() override; | 139 void DidAttachInterstitialPage() override; |
140 void DidDetachInterstitialPage() override; | 140 void DidDetachInterstitialPage() override; |
141 // Workaround for MSVC++ linker bug/feature that requires | 141 // Workaround for MSVC++ linker bug/feature that requires |
142 // instantiation of the inline IPC::Listener methods in all translation units. | 142 // instantiation of the inline IPC::Listener methods in all translation units. |
143 void OnChannelConnected(int32_t peer_id) override {} | 143 void OnChannelConnected(int32_t peer_id) override {} |
144 void OnChannelError() override {} | 144 void OnChannelError() override {} |
145 void OnBadMessageReceived(const IPC::Message& message) override {} | 145 void OnBadMessageReceived(const IPC::Message& message) override {} |
146 void OnWebContentsFocused() override; | 146 void OnWebContentsFocused() override; |
(...skipping 28 matching lines...) Expand all 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 |