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; | |
mlamouri (slow - plz ping)
2015/06/18 16:43:23
I would be tempted to say that this could be decla
| |
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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1275 // Adds/removes a callback called on creation of each new WebContents. | 1276 // Adds/removes a callback called on creation of each new WebContents. |
1276 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1277 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1277 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1278 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1278 | 1279 |
1279 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1280 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1280 }; | 1281 }; |
1281 | 1282 |
1282 } // namespace content | 1283 } // namespace content |
1283 | 1284 |
1284 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1285 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |