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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Find(int request_id, | 286 virtual void Find(int request_id, |
287 const base::string16& search_text, | 287 const base::string16& search_text, |
288 const blink::WebFindOptions& options) OVERRIDE; | 288 const blink::WebFindOptions& options) OVERRIDE; |
| 289 virtual void SetZoomLevel(double level) OVERRIDE; |
289 virtual void StopFinding(StopFindAction action) OVERRIDE; | 290 virtual void StopFinding(StopFindAction action) OVERRIDE; |
290 #if defined(OS_ANDROID) | 291 #if defined(OS_ANDROID) |
291 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() | 292 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() |
292 OVERRIDE; | 293 OVERRIDE; |
293 #endif | 294 #endif |
294 | 295 |
295 // Implementation of PageNavigator. | 296 // Implementation of PageNavigator. |
296 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; | 297 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; |
297 | 298 |
298 // Implementation of IPC::Sender. | 299 // Implementation of IPC::Sender. |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 // Whether this WebContents is responsible for displaying a subframe in a | 1044 // Whether this WebContents is responsible for displaying a subframe in a |
1044 // different process from its parent page. | 1045 // different process from its parent page. |
1045 bool is_subframe_; | 1046 bool is_subframe_; |
1046 | 1047 |
1047 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1048 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1048 }; | 1049 }; |
1049 | 1050 |
1050 } // namespace content | 1051 } // namespace content |
1051 | 1052 |
1052 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1053 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |