| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 int GetMaximumZoomPercent() const override; | 323 int GetMaximumZoomPercent() const override; |
| 324 gfx::Size GetPreferredSize() const override; | 324 gfx::Size GetPreferredSize() const override; |
| 325 bool GotResponseToLockMouseRequest(bool allowed) override; | 325 bool GotResponseToLockMouseRequest(bool allowed) override; |
| 326 bool HasOpener() const override; | 326 bool HasOpener() const override; |
| 327 WebContents* GetOpener() const override; | 327 WebContents* GetOpener() const override; |
| 328 void DidChooseColorInColorChooser(SkColor color) override; | 328 void DidChooseColorInColorChooser(SkColor color) override; |
| 329 void DidEndColorChooser() override; | 329 void DidEndColorChooser() override; |
| 330 int DownloadImage(const GURL& url, | 330 int DownloadImage(const GURL& url, |
| 331 bool is_favicon, | 331 bool is_favicon, |
| 332 uint32_t max_bitmap_size, | 332 uint32_t max_bitmap_size, |
| 333 blink::WebURLRequest::CachePolicy cache_policy, |
| 333 const ImageDownloadCallback& callback) override; | 334 const ImageDownloadCallback& callback) override; |
| 334 bool IsSubframe() const override; | 335 bool IsSubframe() const override; |
| 335 void Find(int request_id, | 336 void Find(int request_id, |
| 336 const base::string16& search_text, | 337 const base::string16& search_text, |
| 337 const blink::WebFindOptions& options) override; | 338 const blink::WebFindOptions& options) override; |
| 338 void StopFinding(StopFindAction action) override; | 339 void StopFinding(StopFindAction action) override; |
| 339 void InsertCSS(const std::string& css) override; | 340 void InsertCSS(const std::string& css) override; |
| 340 bool WasRecentlyAudible() override; | 341 bool WasRecentlyAudible() override; |
| 341 void GetManifest(const GetManifestCallback&) override; | 342 void GetManifest(const GetManifestCallback&) override; |
| 342 void ExitFullscreen() override; | 343 void ExitFullscreen() override; |
| (...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1266 // Adds/removes a callback called on creation of each new WebContents. | 1267 // Adds/removes a callback called on creation of each new WebContents. |
| 1267 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1268 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1268 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1269 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1269 | 1270 |
| 1270 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1271 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1271 }; | 1272 }; |
| 1272 | 1273 |
| 1273 } // namespace content | 1274 } // namespace content |
| 1274 | 1275 |
| 1275 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1276 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |