| 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 RendererPreferences GetRendererPrefs( | 451 RendererPreferences GetRendererPrefs( |
| 452 BrowserContext* browser_context) const override; | 452 BrowserContext* browser_context) const override; |
| 453 void OnUserGesture() override; | 453 void OnUserGesture() override; |
| 454 void OnIgnoredUIEvent() override; | 454 void OnIgnoredUIEvent() override; |
| 455 void RendererUnresponsive(RenderViewHost* render_view_host) override; | 455 void RendererUnresponsive(RenderViewHost* render_view_host) override; |
| 456 void RendererResponsive(RenderViewHost* render_view_host) override; | 456 void RendererResponsive(RenderViewHost* render_view_host) override; |
| 457 void LoadStateChanged(const GURL& url, | 457 void LoadStateChanged(const GURL& url, |
| 458 const net::LoadStateWithParam& load_state, | 458 const net::LoadStateWithParam& load_state, |
| 459 uint64 upload_position, | 459 uint64 upload_position, |
| 460 uint64 upload_size) override; | 460 uint64 upload_size) override; |
| 461 void Activate() override; | 461 void Activate(bool user_gesture) override; |
| 462 void Deactivate() override; | 462 void Deactivate() override; |
| 463 void LostCapture() override; | 463 void LostCapture() override; |
| 464 void RunFileChooser(RenderViewHost* render_view_host, | 464 void RunFileChooser(RenderViewHost* render_view_host, |
| 465 const FileChooserParams& params) override; | 465 const FileChooserParams& params) override; |
| 466 bool IsFullscreenForCurrentTab() const override; | 466 bool IsFullscreenForCurrentTab() const override; |
| 467 blink::WebDisplayMode GetDisplayMode() const override; | 467 blink::WebDisplayMode GetDisplayMode() const override; |
| 468 void UpdatePreferredSize(const gfx::Size& pref_size) override; | 468 void UpdatePreferredSize(const gfx::Size& pref_size) override; |
| 469 void ResizeDueToAutoResize(const gfx::Size& new_size) override; | 469 void ResizeDueToAutoResize(const gfx::Size& new_size) override; |
| 470 void RequestToLockMouse(bool user_gesture, | 470 void RequestToLockMouse(bool user_gesture, |
| 471 bool last_unlocked_by_target) override; | 471 bool last_unlocked_by_target) override; |
| (...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1272 // Adds/removes a callback called on creation of each new WebContents. | 1272 // Adds/removes a callback called on creation of each new WebContents. |
| 1273 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1273 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1274 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1274 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1275 | 1275 |
| 1276 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1276 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1277 }; | 1277 }; |
| 1278 | 1278 |
| 1279 } // namespace content | 1279 } // namespace content |
| 1280 | 1280 |
| 1281 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1281 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |