| 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 "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 bool EmbedsFullscreenWidget() const override; | 126 bool EmbedsFullscreenWidget() const override; |
| 127 | 127 |
| 128 // Overridden from content::WebContentsObserver: | 128 // Overridden from content::WebContentsObserver: |
| 129 void RenderViewReady() override; | 129 void RenderViewReady() override; |
| 130 void RenderViewDeleted(content::RenderViewHost* render_view_host) override; | 130 void RenderViewDeleted(content::RenderViewHost* render_view_host) override; |
| 131 void RenderViewHostChanged(content::RenderViewHost* old_host, | 131 void RenderViewHostChanged(content::RenderViewHost* old_host, |
| 132 content::RenderViewHost* new_host) override; | 132 content::RenderViewHost* new_host) override; |
| 133 void WebContentsDestroyed() override; | 133 void WebContentsDestroyed() override; |
| 134 void DidShowFullscreenWidget(int routing_id) override; | 134 void DidShowFullscreenWidget(int routing_id) override; |
| 135 void DidDestroyFullscreenWidget(int routing_id) override; | 135 void DidDestroyFullscreenWidget(int routing_id) override; |
| 136 void DidToggleFullscreenModeForTab(bool entered_fullscreen) override; | 136 void DidToggleFullscreenModeForTab(bool entered_fullscreen, |
| 137 bool will_cause_resize) override; |
| 137 void DidAttachInterstitialPage() override; | 138 void DidAttachInterstitialPage() override; |
| 138 void DidDetachInterstitialPage() override; | 139 void DidDetachInterstitialPage() override; |
| 139 // Workaround for MSVC++ linker bug/feature that requires | 140 // Workaround for MSVC++ linker bug/feature that requires |
| 140 // instantiation of the inline IPC::Listener methods in all translation units. | 141 // instantiation of the inline IPC::Listener methods in all translation units. |
| 141 void OnChannelConnected(int32_t peer_id) override {} | 142 void OnChannelConnected(int32_t peer_id) override {} |
| 142 void OnChannelError() override {} | 143 void OnChannelError() override {} |
| 143 void OnBadMessageReceived(const IPC::Message& message) override {} | 144 void OnBadMessageReceived(const IPC::Message& message) override {} |
| 144 void OnWebContentsFocused() override; | 145 void OnWebContentsFocused() override; |
| 145 | 146 |
| 146 private: | 147 private: |
| (...skipping 26 matching lines...) Expand all Loading... |
| 173 content::BrowserContext* browser_context_; | 174 content::BrowserContext* browser_context_; |
| 174 bool allow_accelerators_; | 175 bool allow_accelerators_; |
| 175 gfx::Size preferred_size_; | 176 gfx::Size preferred_size_; |
| 176 | 177 |
| 177 DISALLOW_COPY_AND_ASSIGN(WebView); | 178 DISALLOW_COPY_AND_ASSIGN(WebView); |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 } // namespace views | 181 } // namespace views |
| 181 | 182 |
| 182 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ | 183 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ |
| OLD | NEW |