| 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 bool IsSubframe() const override; | 355 bool IsSubframe() const override; |
| 356 void Find(int request_id, | 356 void Find(int request_id, |
| 357 const base::string16& search_text, | 357 const base::string16& search_text, |
| 358 const blink::WebFindOptions& options) override; | 358 const blink::WebFindOptions& options) override; |
| 359 void StopFinding(StopFindAction action) override; | 359 void StopFinding(StopFindAction action) override; |
| 360 void InsertCSS(const std::string& css) override; | 360 void InsertCSS(const std::string& css) override; |
| 361 bool WasRecentlyAudible() override; | 361 bool WasRecentlyAudible() override; |
| 362 void GetManifest(const GetManifestCallback&) override; | 362 void GetManifest(const GetManifestCallback&) override; |
| 363 void ExitFullscreen() override; | 363 void ExitFullscreen() override; |
| 364 void ResumeLoadingCreatedWebContents() override; | 364 void ResumeLoadingCreatedWebContents() override; |
| 365 void OnMediaSessionStateChanged() override; |
| 366 void ResumeMediaSession() override; |
| 367 void SuspendMediaSession() override; |
| 365 #if defined(OS_ANDROID) | 368 #if defined(OS_ANDROID) |
| 366 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; | 369 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; |
| 367 virtual WebContentsAndroid* GetWebContentsAndroid(); | 370 virtual WebContentsAndroid* GetWebContentsAndroid(); |
| 368 #elif defined(OS_MACOSX) | 371 #elif defined(OS_MACOSX) |
| 369 void SetAllowOtherViews(bool allow) override; | 372 void SetAllowOtherViews(bool allow) override; |
| 370 bool GetAllowOtherViews() override; | 373 bool GetAllowOtherViews() override; |
| 371 #endif | 374 #endif |
| 372 | 375 |
| 373 // Implementation of PageNavigator. | 376 // Implementation of PageNavigator. |
| 374 WebContents* OpenURL(const OpenURLParams& params) override; | 377 WebContents* OpenURL(const OpenURLParams& params) override; |
| (...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1297 // Adds/removes a callback called on creation of each new WebContents. | 1300 // Adds/removes a callback called on creation of each new WebContents. |
| 1298 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1301 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1299 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1302 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1300 | 1303 |
| 1301 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1304 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1302 }; | 1305 }; |
| 1303 | 1306 |
| 1304 } // namespace content | 1307 } // namespace content |
| 1305 | 1308 |
| 1306 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1309 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |