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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 RendererPreferences* GetMutableRendererPrefs() override; | 315 RendererPreferences* GetMutableRendererPrefs() override; |
316 void Close() override; | 316 void Close() override; |
317 void SystemDragEnded() override; | 317 void SystemDragEnded() override; |
318 void UserGestureDone() override; | 318 void UserGestureDone() override; |
319 void SetClosedByUserGesture(bool value) override; | 319 void SetClosedByUserGesture(bool value) override; |
320 bool GetClosedByUserGesture() const override; | 320 bool GetClosedByUserGesture() const override; |
321 void ViewSource() override; | 321 void ViewSource() override; |
322 void ViewFrameSource(const GURL& url, const PageState& page_state) override; | 322 void ViewFrameSource(const GURL& url, const PageState& page_state) override; |
323 int GetMinimumZoomPercent() const override; | 323 int GetMinimumZoomPercent() const override; |
324 int GetMaximumZoomPercent() const override; | 324 int GetMaximumZoomPercent() const override; |
| 325 void ResetPageScale() override; |
325 gfx::Size GetPreferredSize() const override; | 326 gfx::Size GetPreferredSize() const override; |
326 bool GotResponseToLockMouseRequest(bool allowed) override; | 327 bool GotResponseToLockMouseRequest(bool allowed) override; |
327 bool HasOpener() const override; | 328 bool HasOpener() const override; |
328 WebContents* GetOpener() const override; | 329 WebContents* GetOpener() const override; |
329 void DidChooseColorInColorChooser(SkColor color) override; | 330 void DidChooseColorInColorChooser(SkColor color) override; |
330 void DidEndColorChooser() override; | 331 void DidEndColorChooser() override; |
331 int DownloadImage(const GURL& url, | 332 int DownloadImage(const GURL& url, |
332 bool is_favicon, | 333 bool is_favicon, |
333 uint32_t max_bitmap_size, | 334 uint32_t max_bitmap_size, |
334 const ImageDownloadCallback& callback) override; | 335 const ImageDownloadCallback& callback) override; |
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 // Adds/removes a callback called on creation of each new WebContents. | 1281 // Adds/removes a callback called on creation of each new WebContents. |
1281 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1282 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1282 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1283 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1283 | 1284 |
1284 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1285 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1285 }; | 1286 }; |
1286 | 1287 |
1287 } // namespace content | 1288 } // namespace content |
1288 | 1289 |
1289 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1290 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |