Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: content/public/browser/web_contents.h

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 virtual WebUI* CreateWebUI(const GURL& url) = 0; 212 virtual WebUI* CreateWebUI(const GURL& url) = 0;
213 213
214 // Returns the committed WebUI if one exists, otherwise the pending one. 214 // Returns the committed WebUI if one exists, otherwise the pending one.
215 virtual WebUI* GetWebUI() const = 0; 215 virtual WebUI* GetWebUI() const = 0;
216 virtual WebUI* GetCommittedWebUI() const = 0; 216 virtual WebUI* GetCommittedWebUI() const = 0;
217 217
218 // Allows overriding the user agent used for NavigationEntries it owns. 218 // Allows overriding the user agent used for NavigationEntries it owns.
219 virtual void SetUserAgentOverride(const std::string& override) = 0; 219 virtual void SetUserAgentOverride(const std::string& override) = 0;
220 virtual const std::string& GetUserAgentOverride() const = 0; 220 virtual const std::string& GetUserAgentOverride() const = 0;
221 221
222 virtual void EnableTreeOnlyAccessibilityMode() = 0;
223 virtual bool IsTreeOnlyAccessibilityModeForTesting() const = 0;
nasko 2014/05/12 17:28:01 I'm not sure if we add testing methods to the publ
dmazzoni 2014/05/13 06:36:52 The reason we need these is because we want to tes
224 virtual bool IsFullAccessibilityModeForTesting() const = 0;
225
222 #if defined(OS_WIN) 226 #if defined(OS_WIN)
223 virtual void SetParentNativeViewAccessible( 227 virtual void SetParentNativeViewAccessible(
224 gfx::NativeViewAccessible accessible_parent) = 0; 228 gfx::NativeViewAccessible accessible_parent) = 0;
225 #endif 229 #endif
226 230
227 // Tab navigation state ------------------------------------------------------ 231 // Tab navigation state ------------------------------------------------------
228 232
229 // Returns the current navigation properties, which if a navigation is 233 // Returns the current navigation properties, which if a navigation is
230 // pending may be provisional (e.g., the navigation could result in a 234 // pending may be provisional (e.g., the navigation could result in a
231 // download, in which case the URL would revert to what it was previously). 235 // download, in which case the URL would revert to what it was previously).
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 599
596 private: 600 private:
597 // This interface should only be implemented inside content. 601 // This interface should only be implemented inside content.
598 friend class WebContentsImpl; 602 friend class WebContentsImpl;
599 WebContents() {} 603 WebContents() {}
600 }; 604 };
601 605
602 } // namespace content 606 } // namespace content
603 607
604 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 608 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698