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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 BrowserContext* browser_context) const override; | 471 BrowserContext* browser_context) const override; |
472 void OnUserGesture() override; | 472 void OnUserGesture() override; |
473 void OnIgnoredUIEvent() override; | 473 void OnIgnoredUIEvent() override; |
474 void RendererUnresponsive(RenderViewHost* render_view_host) override; | 474 void RendererUnresponsive(RenderViewHost* render_view_host) override; |
475 void RendererResponsive(RenderViewHost* render_view_host) override; | 475 void RendererResponsive(RenderViewHost* render_view_host) override; |
476 void LoadStateChanged(const GURL& url, | 476 void LoadStateChanged(const GURL& url, |
477 const net::LoadStateWithParam& load_state, | 477 const net::LoadStateWithParam& load_state, |
478 uint64 upload_position, | 478 uint64 upload_position, |
479 uint64 upload_size) override; | 479 uint64 upload_size) override; |
480 void Activate() override; | 480 void Activate() override; |
481 void Deactivate() override; | |
482 void LostCapture() override; | 481 void LostCapture() override; |
483 void RunFileChooser(RenderViewHost* render_view_host, | 482 void RunFileChooser(RenderViewHost* render_view_host, |
484 const FileChooserParams& params) override; | 483 const FileChooserParams& params) override; |
485 bool IsFullscreenForCurrentTab() const override; | 484 bool IsFullscreenForCurrentTab() const override; |
486 blink::WebDisplayMode GetDisplayMode() const override; | 485 blink::WebDisplayMode GetDisplayMode() const override; |
487 void UpdatePreferredSize(const gfx::Size& pref_size) override; | 486 void UpdatePreferredSize(const gfx::Size& pref_size) override; |
488 void ResizeDueToAutoResize(const gfx::Size& new_size) override; | 487 void ResizeDueToAutoResize(const gfx::Size& new_size) override; |
489 void RequestToLockMouse(bool user_gesture, | 488 void RequestToLockMouse(bool user_gesture, |
490 bool last_unlocked_by_target) override; | 489 bool last_unlocked_by_target) override; |
491 void LostMouseLock() override; | 490 void LostMouseLock() override; |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1329 // Adds/removes a callback called on creation of each new WebContents. | 1328 // Adds/removes a callback called on creation of each new WebContents. |
1330 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1329 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1331 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1330 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1332 | 1331 |
1333 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1332 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1334 }; | 1333 }; |
1335 | 1334 |
1336 } // namespace content | 1335 } // namespace content |
1337 | 1336 |
1338 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1337 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |