| 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 BrowserContext* browser_context) const override; | 459 BrowserContext* browser_context) const override; |
| 460 void OnUserGesture() override; | 460 void OnUserGesture() override; |
| 461 void OnIgnoredUIEvent() override; | 461 void OnIgnoredUIEvent() override; |
| 462 void RendererUnresponsive(RenderViewHost* render_view_host) override; | 462 void RendererUnresponsive(RenderViewHost* render_view_host) override; |
| 463 void RendererResponsive(RenderViewHost* render_view_host) override; | 463 void RendererResponsive(RenderViewHost* render_view_host) override; |
| 464 void LoadStateChanged(const GURL& url, | 464 void LoadStateChanged(const GURL& url, |
| 465 const net::LoadStateWithParam& load_state, | 465 const net::LoadStateWithParam& load_state, |
| 466 uint64 upload_position, | 466 uint64 upload_position, |
| 467 uint64 upload_size) override; | 467 uint64 upload_size) override; |
| 468 void Activate() override; | 468 void Activate() override; |
| 469 void ActivateForUserGesture() override; |
| 469 void Deactivate() override; | 470 void Deactivate() override; |
| 470 void LostCapture() override; | 471 void LostCapture() override; |
| 471 void RunFileChooser(RenderViewHost* render_view_host, | 472 void RunFileChooser(RenderViewHost* render_view_host, |
| 472 const FileChooserParams& params) override; | 473 const FileChooserParams& params) override; |
| 473 bool IsFullscreenForCurrentTab() const override; | 474 bool IsFullscreenForCurrentTab() const override; |
| 474 blink::WebDisplayMode GetDisplayMode() const override; | 475 blink::WebDisplayMode GetDisplayMode() const override; |
| 475 void UpdatePreferredSize(const gfx::Size& pref_size) override; | 476 void UpdatePreferredSize(const gfx::Size& pref_size) override; |
| 476 void ResizeDueToAutoResize(const gfx::Size& new_size) override; | 477 void ResizeDueToAutoResize(const gfx::Size& new_size) override; |
| 477 void RequestToLockMouse(bool user_gesture, | 478 void RequestToLockMouse(bool user_gesture, |
| 478 bool last_unlocked_by_target) override; | 479 bool last_unlocked_by_target) override; |
| (...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1285 // Adds/removes a callback called on creation of each new WebContents. | 1286 // Adds/removes a callback called on creation of each new WebContents. |
| 1286 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1287 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1288 | 1289 |
| 1289 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1290 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1290 }; | 1291 }; |
| 1291 | 1292 |
| 1292 } // namespace content | 1293 } // namespace content |
| 1293 | 1294 |
| 1294 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |