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_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 // side. | 281 // side. |
282 virtual void EnableTreeOnlyAccessibilityMode() = 0; | 282 virtual void EnableTreeOnlyAccessibilityMode() = 0; |
283 | 283 |
284 // Returns true only if "tree only" accessibility mode is on. | 284 // Returns true only if "tree only" accessibility mode is on. |
285 virtual bool IsTreeOnlyAccessibilityModeForTesting() const = 0; | 285 virtual bool IsTreeOnlyAccessibilityModeForTesting() const = 0; |
286 | 286 |
287 // Returns true only if complete accessibility mode is on, meaning there's | 287 // Returns true only if complete accessibility mode is on, meaning there's |
288 // both renderer accessibility, and a native browser accessibility tree. | 288 // both renderer accessibility, and a native browser accessibility tree. |
289 virtual bool IsFullAccessibilityModeForTesting() const = 0; | 289 virtual bool IsFullAccessibilityModeForTesting() const = 0; |
290 | 290 |
291 #if defined(OS_WIN) | |
292 virtual void SetParentNativeViewAccessible( | |
293 gfx::NativeViewAccessible accessible_parent) = 0; | |
294 #endif | |
295 | |
296 virtual const PageImportanceSignals& GetPageImportanceSignals() const = 0; | 291 virtual const PageImportanceSignals& GetPageImportanceSignals() const = 0; |
297 | 292 |
298 // Tab navigation state ------------------------------------------------------ | 293 // Tab navigation state ------------------------------------------------------ |
299 | 294 |
300 // Returns the current navigation properties, which if a navigation is | 295 // Returns the current navigation properties, which if a navigation is |
301 // pending may be provisional (e.g., the navigation could result in a | 296 // pending may be provisional (e.g., the navigation could result in a |
302 // download, in which case the URL would revert to what it was previously). | 297 // download, in which case the URL would revert to what it was previously). |
303 virtual const base::string16& GetTitle() const = 0; | 298 virtual const base::string16& GetTitle() const = 0; |
304 | 299 |
305 // The max page ID for any page that the current SiteInstance has loaded in | 300 // The max page ID for any page that the current SiteInstance has loaded in |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 | 714 |
720 private: | 715 private: |
721 // This interface should only be implemented inside content. | 716 // This interface should only be implemented inside content. |
722 friend class WebContentsImpl; | 717 friend class WebContentsImpl; |
723 WebContents() {} | 718 WebContents() {} |
724 }; | 719 }; |
725 | 720 |
726 } // namespace content | 721 } // namespace content |
727 | 722 |
728 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 723 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
OLD | NEW |