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 <functional> | 10 #include <functional> |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 int DownloadImage(const GURL& url, | 383 int DownloadImage(const GURL& url, |
384 bool is_favicon, | 384 bool is_favicon, |
385 uint32_t max_bitmap_size, | 385 uint32_t max_bitmap_size, |
386 bool bypass_cache, | 386 bool bypass_cache, |
387 const ImageDownloadCallback& callback) override; | 387 const ImageDownloadCallback& callback) override; |
388 bool IsSubframe() const override; | 388 bool IsSubframe() const override; |
389 void Find(int request_id, | 389 void Find(int request_id, |
390 const base::string16& search_text, | 390 const base::string16& search_text, |
391 const blink::WebFindOptions& options) override; | 391 const blink::WebFindOptions& options) override; |
392 void StopFinding(StopFindAction action) override; | 392 void StopFinding(StopFindAction action) override; |
393 void InsertCSS(const std::string& css) override; | |
394 bool WasRecentlyAudible() override; | 393 bool WasRecentlyAudible() override; |
395 void GetManifest(const GetManifestCallback& callback) override; | 394 void GetManifest(const GetManifestCallback& callback) override; |
396 void ExitFullscreen(bool will_cause_resize) override; | 395 void ExitFullscreen(bool will_cause_resize) override; |
397 void ResumeLoadingCreatedWebContents() override; | 396 void ResumeLoadingCreatedWebContents() override; |
398 void OnMediaSessionStateChanged(); | 397 void OnMediaSessionStateChanged(); |
399 void ResumeMediaSession() override; | 398 void ResumeMediaSession() override; |
400 void SuspendMediaSession() override; | 399 void SuspendMediaSession() override; |
401 void StopMediaSession() override; | 400 void StopMediaSession() override; |
402 | 401 |
403 #if defined(OS_ANDROID) | 402 #if defined(OS_ANDROID) |
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1421 // Adds/removes a callback called on creation of each new WebContents. | 1420 // Adds/removes a callback called on creation of each new WebContents. |
1422 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1421 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1423 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1422 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1424 | 1423 |
1425 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1424 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1426 }; | 1425 }; |
1427 | 1426 |
1428 } // namespace content | 1427 } // namespace content |
1429 | 1428 |
1430 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1429 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |