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 const blink::WebFindOptions& options) override; | 355 const blink::WebFindOptions& options) override; |
356 void StopFinding(StopFindAction action) override; | 356 void StopFinding(StopFindAction action) override; |
357 void InsertCSS(const std::string& css) override; | 357 void InsertCSS(const std::string& css) override; |
358 bool WasRecentlyAudible() override; | 358 bool WasRecentlyAudible() override; |
359 void GetManifest(const GetManifestCallback&) override; | 359 void GetManifest(const GetManifestCallback&) override; |
360 void ExitFullscreen() override; | 360 void ExitFullscreen() override; |
361 void ResumeLoadingCreatedWebContents() override; | 361 void ResumeLoadingCreatedWebContents() override; |
362 #if defined(OS_ANDROID) | 362 #if defined(OS_ANDROID) |
363 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; | 363 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; |
364 virtual WebContentsAndroid* GetWebContentsAndroid(); | 364 virtual WebContentsAndroid* GetWebContentsAndroid(); |
| 365 MediaControlsDelegate* GetMediaControlsDelegate() override; |
365 #elif defined(OS_MACOSX) | 366 #elif defined(OS_MACOSX) |
366 void SetAllowOtherViews(bool allow) override; | 367 void SetAllowOtherViews(bool allow) override; |
367 bool GetAllowOtherViews() override; | 368 bool GetAllowOtherViews() override; |
368 #endif | 369 #endif |
369 | 370 |
370 // Implementation of PageNavigator. | 371 // Implementation of PageNavigator. |
371 WebContents* OpenURL(const OpenURLParams& params) override; | 372 WebContents* OpenURL(const OpenURLParams& params) override; |
372 | 373 |
373 // Implementation of IPC::Sender. | 374 // Implementation of IPC::Sender. |
374 bool Send(IPC::Message* message) override; | 375 bool Send(IPC::Message* message) override; |
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1255 // Adds/removes a callback called on creation of each new WebContents. | 1256 // Adds/removes a callback called on creation of each new WebContents. |
1256 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1257 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1257 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1258 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1258 | 1259 |
1259 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1260 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1260 }; | 1261 }; |
1261 | 1262 |
1262 } // namespace content | 1263 } // namespace content |
1263 | 1264 |
1264 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1265 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |