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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 virtual gfx::Size GetPreferredSize() const OVERRIDE; | 276 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
277 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; | 277 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; |
278 virtual bool HasOpener() const OVERRIDE; | 278 virtual bool HasOpener() const OVERRIDE; |
279 virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE; | 279 virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE; |
280 virtual void DidEndColorChooser() OVERRIDE; | 280 virtual void DidEndColorChooser() OVERRIDE; |
281 virtual int DownloadImage(const GURL& url, | 281 virtual int DownloadImage(const GURL& url, |
282 bool is_favicon, | 282 bool is_favicon, |
283 uint32_t max_bitmap_size, | 283 uint32_t max_bitmap_size, |
284 const ImageDownloadCallback& callback) OVERRIDE; | 284 const ImageDownloadCallback& callback) OVERRIDE; |
285 virtual bool IsSubframe() const OVERRIDE; | 285 virtual bool IsSubframe() const OVERRIDE; |
| 286 virtual void SetZoomLevel(double level) OVERRIDE; |
286 #if defined(OS_ANDROID) | 287 #if defined(OS_ANDROID) |
287 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() | 288 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() |
288 OVERRIDE; | 289 OVERRIDE; |
289 #endif | 290 #endif |
290 | 291 |
291 // Implementation of PageNavigator. | 292 // Implementation of PageNavigator. |
292 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; | 293 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; |
293 | 294 |
294 // Implementation of IPC::Sender. | 295 // Implementation of IPC::Sender. |
295 virtual bool Send(IPC::Message* message) OVERRIDE; | 296 virtual bool Send(IPC::Message* message) OVERRIDE; |
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 // Whether this WebContents is responsible for displaying a subframe in a | 1040 // Whether this WebContents is responsible for displaying a subframe in a |
1040 // different process from its parent page. | 1041 // different process from its parent page. |
1041 bool is_subframe_; | 1042 bool is_subframe_; |
1042 | 1043 |
1043 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1044 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1044 }; | 1045 }; |
1045 | 1046 |
1046 } // namespace content | 1047 } // namespace content |
1047 | 1048 |
1048 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1049 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |