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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 void ResetPageScale() override; | 332 void ResetPageScale() override; |
333 gfx::Size GetPreferredSize() const override; | 333 gfx::Size GetPreferredSize() const override; |
334 bool GotResponseToLockMouseRequest(bool allowed) override; | 334 bool GotResponseToLockMouseRequest(bool allowed) override; |
335 bool HasOpener() const override; | 335 bool HasOpener() const override; |
336 WebContents* GetOpener() const override; | 336 WebContents* GetOpener() const override; |
337 void DidChooseColorInColorChooser(SkColor color) override; | 337 void DidChooseColorInColorChooser(SkColor color) override; |
338 void DidEndColorChooser() override; | 338 void DidEndColorChooser() override; |
339 int DownloadImage(const GURL& url, | 339 int DownloadImage(const GURL& url, |
340 bool is_favicon, | 340 bool is_favicon, |
341 uint32_t max_bitmap_size, | 341 uint32_t max_bitmap_size, |
| 342 bool bypass_cache, |
342 const ImageDownloadCallback& callback) override; | 343 const ImageDownloadCallback& callback) override; |
343 bool IsSubframe() const override; | 344 bool IsSubframe() const override; |
344 void Find(int request_id, | 345 void Find(int request_id, |
345 const base::string16& search_text, | 346 const base::string16& search_text, |
346 const blink::WebFindOptions& options) override; | 347 const blink::WebFindOptions& options) override; |
347 void StopFinding(StopFindAction action) override; | 348 void StopFinding(StopFindAction action) override; |
348 void InsertCSS(const std::string& css) override; | 349 void InsertCSS(const std::string& css) override; |
349 bool WasRecentlyAudible() override; | 350 bool WasRecentlyAudible() override; |
350 void GetManifest(const GetManifestCallback&) override; | 351 void GetManifest(const GetManifestCallback&) override; |
351 void ExitFullscreen() override; | 352 void ExitFullscreen() override; |
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1282 // Adds/removes a callback called on creation of each new WebContents. | 1283 // Adds/removes a callback called on creation of each new WebContents. |
1283 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1284 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1284 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1285 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1285 | 1286 |
1286 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1287 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1287 }; | 1288 }; |
1288 | 1289 |
1289 } // namespace content | 1290 } // namespace content |
1290 | 1291 |
1291 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1292 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |