| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 const ImageDownloadCallback& callback) override; | 370 const ImageDownloadCallback& callback) override; |
| 371 bool IsSubframe() const override; | 371 bool IsSubframe() const override; |
| 372 void Find(int request_id, | 372 void Find(int request_id, |
| 373 const base::string16& search_text, | 373 const base::string16& search_text, |
| 374 const blink::WebFindOptions& options) override; | 374 const blink::WebFindOptions& options) override; |
| 375 void StopFinding(StopFindAction action) override; | 375 void StopFinding(StopFindAction action) override; |
| 376 void InsertCSS(const std::string& css) override; | 376 void InsertCSS(const std::string& css) override; |
| 377 bool WasRecentlyAudible() override; | 377 bool WasRecentlyAudible() override; |
| 378 void GetManifest(const GetManifestCallback& callback) override; | 378 void GetManifest(const GetManifestCallback& callback) override; |
| 379 void HasManifest(const HasManifestCallback& callback) override; | 379 void HasManifest(const HasManifestCallback& callback) override; |
| 380 void ExitFullscreen() override; | 380 void ExitFullscreen(bool will_cause_resize) override; |
| 381 void ResumeLoadingCreatedWebContents() override; | 381 void ResumeLoadingCreatedWebContents() override; |
| 382 #if defined(OS_ANDROID) | 382 #if defined(OS_ANDROID) |
| 383 void OnMediaSessionStateChanged(); | 383 void OnMediaSessionStateChanged(); |
| 384 void ResumeMediaSession() override; | 384 void ResumeMediaSession() override; |
| 385 void SuspendMediaSession() override; | 385 void SuspendMediaSession() override; |
| 386 void StopMediaSession() override; | 386 void StopMediaSession() override; |
| 387 #if !defined(USE_AURA) | 387 #if !defined(USE_AURA) |
| 388 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; | 388 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; |
| 389 virtual WebContentsAndroid* GetWebContentsAndroid(); | 389 virtual WebContentsAndroid* GetWebContentsAndroid(); |
| 390 #endif // !USE_AURA | 390 #endif // !USE_AURA |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 bool IsNeverVisible() override; | 434 bool IsNeverVisible() override; |
| 435 AccessibilityMode GetAccessibilityMode() const override; | 435 AccessibilityMode GetAccessibilityMode() const override; |
| 436 void AccessibilityEventReceived( | 436 void AccessibilityEventReceived( |
| 437 const std::vector<AXEventNotificationDetails>& details) override; | 437 const std::vector<AXEventNotificationDetails>& details) override; |
| 438 RenderFrameHost* GetGuestByInstanceID( | 438 RenderFrameHost* GetGuestByInstanceID( |
| 439 RenderFrameHost* render_frame_host, | 439 RenderFrameHost* render_frame_host, |
| 440 int browser_plugin_instance_id) override; | 440 int browser_plugin_instance_id) override; |
| 441 GeolocationServiceContext* GetGeolocationServiceContext() override; | 441 GeolocationServiceContext* GetGeolocationServiceContext() override; |
| 442 WakeLockServiceContext* GetWakeLockServiceContext() override; | 442 WakeLockServiceContext* GetWakeLockServiceContext() override; |
| 443 void EnterFullscreenMode(const GURL& origin) override; | 443 void EnterFullscreenMode(const GURL& origin) override; |
| 444 void ExitFullscreenMode() override; | 444 void ExitFullscreenMode(bool will_cause_resize) override; |
| 445 bool ShouldRouteMessageEvent( | 445 bool ShouldRouteMessageEvent( |
| 446 RenderFrameHost* target_rfh, | 446 RenderFrameHost* target_rfh, |
| 447 SiteInstance* source_site_instance) const override; | 447 SiteInstance* source_site_instance) const override; |
| 448 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; | 448 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; |
| 449 scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url) override; | 449 scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url) override; |
| 450 #if defined(OS_WIN) | 450 #if defined(OS_WIN) |
| 451 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; | 451 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; |
| 452 #endif | 452 #endif |
| 453 | 453 |
| 454 // RenderViewHostDelegate ---------------------------------------------------- | 454 // RenderViewHostDelegate ---------------------------------------------------- |
| (...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 // Adds/removes a callback called on creation of each new WebContents. | 1321 // Adds/removes a callback called on creation of each new WebContents. |
| 1322 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1322 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1323 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1323 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1324 | 1324 |
| 1325 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1325 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1326 }; | 1326 }; |
| 1327 | 1327 |
| 1328 } // namespace content | 1328 } // namespace content |
| 1329 | 1329 |
| 1330 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1330 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |