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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 virtual void Find(int request_id, | 327 virtual void Find(int request_id, |
328 const base::string16& search_text, | 328 const base::string16& search_text, |
329 const blink::WebFindOptions& options) OVERRIDE; | 329 const blink::WebFindOptions& options) OVERRIDE; |
330 virtual void StopFinding(StopFindAction action) OVERRIDE; | 330 virtual void StopFinding(StopFindAction action) OVERRIDE; |
331 virtual void InsertCSS(const std::string& css) OVERRIDE; | 331 virtual void InsertCSS(const std::string& css) OVERRIDE; |
332 #if defined(OS_ANDROID) | 332 #if defined(OS_ANDROID) |
333 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() | 333 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() |
334 OVERRIDE; | 334 OVERRIDE; |
335 virtual WebContentsAndroid* GetWebContentsAndroid(); | 335 virtual WebContentsAndroid* GetWebContentsAndroid(); |
336 #elif defined(OS_MACOSX) | 336 #elif defined(OS_MACOSX) |
337 virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE; | |
338 virtual bool GetAllowOverlappingViews() OVERRIDE; | |
339 virtual void SetAllowOtherViews(bool allow) OVERRIDE; | 337 virtual void SetAllowOtherViews(bool allow) OVERRIDE; |
340 virtual bool GetAllowOtherViews() OVERRIDE; | 338 virtual bool GetAllowOtherViews() OVERRIDE; |
341 #endif | 339 #endif |
342 | 340 |
343 // Implementation of PageNavigator. | 341 // Implementation of PageNavigator. |
344 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; | 342 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; |
345 | 343 |
346 // Implementation of IPC::Sender. | 344 // Implementation of IPC::Sender. |
347 virtual bool Send(IPC::Message* message) OVERRIDE; | 345 virtual bool Send(IPC::Message* message) OVERRIDE; |
348 | 346 |
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1200 // The accessibility mode for all frames. This is queried when each frame | 1198 // The accessibility mode for all frames. This is queried when each frame |
1201 // is created, and broadcast to all frames when it changes. | 1199 // is created, and broadcast to all frames when it changes. |
1202 AccessibilityMode accessibility_mode_; | 1200 AccessibilityMode accessibility_mode_; |
1203 | 1201 |
1204 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1202 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1205 }; | 1203 }; |
1206 | 1204 |
1207 } // namespace content | 1205 } // namespace content |
1208 | 1206 |
1209 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1207 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |