| 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 RendererPreferences* GetMutableRendererPrefs() override; | 314 RendererPreferences* GetMutableRendererPrefs() override; |
| 315 void Close() override; | 315 void Close() override; |
| 316 void SystemDragEnded() override; | 316 void SystemDragEnded() override; |
| 317 void UserGestureDone() override; | 317 void UserGestureDone() override; |
| 318 void SetClosedByUserGesture(bool value) override; | 318 void SetClosedByUserGesture(bool value) override; |
| 319 bool GetClosedByUserGesture() const override; | 319 bool GetClosedByUserGesture() const override; |
| 320 void ViewSource() override; | 320 void ViewSource() override; |
| 321 void ViewFrameSource(const GURL& url, const PageState& page_state) override; | 321 void ViewFrameSource(const GURL& url, const PageState& page_state) override; |
| 322 int GetMinimumZoomPercent() const override; | 322 int GetMinimumZoomPercent() const override; |
| 323 int GetMaximumZoomPercent() const override; | 323 int GetMaximumZoomPercent() const override; |
| 324 void ResetPageScale() override; |
| 324 gfx::Size GetPreferredSize() const override; | 325 gfx::Size GetPreferredSize() const override; |
| 325 bool GotResponseToLockMouseRequest(bool allowed) override; | 326 bool GotResponseToLockMouseRequest(bool allowed) override; |
| 326 bool HasOpener() const override; | 327 bool HasOpener() const override; |
| 327 WebContents* GetOpener() const override; | 328 WebContents* GetOpener() const override; |
| 328 void DidChooseColorInColorChooser(SkColor color) override; | 329 void DidChooseColorInColorChooser(SkColor color) override; |
| 329 void DidEndColorChooser() override; | 330 void DidEndColorChooser() override; |
| 330 int DownloadImage(const GURL& url, | 331 int DownloadImage(const GURL& url, |
| 331 bool is_favicon, | 332 bool is_favicon, |
| 332 uint32_t max_bitmap_size, | 333 uint32_t max_bitmap_size, |
| 333 const ImageDownloadCallback& callback) override; | 334 const ImageDownloadCallback& callback) override; |
| (...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1267 // Adds/removes a callback called on creation of each new WebContents. | 1268 // Adds/removes a callback called on creation of each new WebContents. |
| 1268 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1269 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1269 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1270 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1270 | 1271 |
| 1271 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1272 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1272 }; | 1273 }; |
| 1273 | 1274 |
| 1274 } // namespace content | 1275 } // namespace content |
| 1275 | 1276 |
| 1276 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1277 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |