| 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 bool GetClosedByUserGesture() const override; | 383 bool GetClosedByUserGesture() const override; |
| 384 void ViewSource() override; | 384 void ViewSource() override; |
| 385 void ViewFrameSource(const GURL& url, const PageState& page_state) override; | 385 void ViewFrameSource(const GURL& url, const PageState& page_state) override; |
| 386 int GetMinimumZoomPercent() const override; | 386 int GetMinimumZoomPercent() const override; |
| 387 int GetMaximumZoomPercent() const override; | 387 int GetMaximumZoomPercent() const override; |
| 388 void SetPageScale(float page_scale_factor) override; | 388 void SetPageScale(float page_scale_factor) override; |
| 389 gfx::Size GetPreferredSize() const override; | 389 gfx::Size GetPreferredSize() const override; |
| 390 bool GotResponseToLockMouseRequest(bool allowed) override; | 390 bool GotResponseToLockMouseRequest(bool allowed) override; |
| 391 bool HasOpener() const override; | 391 bool HasOpener() const override; |
| 392 WebContentsImpl* GetOpener() const override; | 392 WebContentsImpl* GetOpener() const override; |
| 393 bool HasOriginalOpener() const override; |
| 394 WebContents* GetOriginalOpener() const override; |
| 393 void DidChooseColorInColorChooser(SkColor color) override; | 395 void DidChooseColorInColorChooser(SkColor color) override; |
| 394 void DidEndColorChooser() override; | 396 void DidEndColorChooser() override; |
| 395 int DownloadImage(const GURL& url, | 397 int DownloadImage(const GURL& url, |
| 396 bool is_favicon, | 398 bool is_favicon, |
| 397 uint32_t max_bitmap_size, | 399 uint32_t max_bitmap_size, |
| 398 bool bypass_cache, | 400 bool bypass_cache, |
| 399 const ImageDownloadCallback& callback) override; | 401 const ImageDownloadCallback& callback) override; |
| 400 bool IsSubframe() const override; | 402 bool IsSubframe() const override; |
| 401 void Find(int request_id, | 403 void Find(int request_id, |
| 402 const base::string16& search_text, | 404 const base::string16& search_text, |
| (...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1514 // Adds/removes a callback called on creation of each new WebContents. | 1516 // Adds/removes a callback called on creation of each new WebContents. |
| 1515 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1516 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1517 | 1519 |
| 1518 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1520 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1519 }; | 1521 }; |
| 1520 | 1522 |
| 1521 } // namespace content | 1523 } // namespace content |
| 1522 | 1524 |
| 1523 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |