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

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: Fix more compile errors 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 // keep track of it manually, it can use this. 221 // keep track of it manually, it can use this.
222 virtual WebUI* CreateWebUI(const GURL& url) = 0; 222 virtual WebUI* CreateWebUI(const GURL& url) = 0;
223 223
224 // Returns the committed WebUI if one exists, otherwise the pending one. 224 // Returns the committed WebUI if one exists, otherwise the pending one.
225 virtual WebUI* GetWebUI() const = 0; 225 virtual WebUI* GetWebUI() const = 0;
226 virtual WebUI* GetCommittedWebUI() const = 0; 226 virtual WebUI* GetCommittedWebUI() const = 0;
227 227
228 // Allows overriding the user agent used for NavigationEntries it owns. 228 // Allows overriding the user agent used for NavigationEntries it owns.
229 virtual void SetUserAgentOverride(const std::string& override) = 0; 229 virtual void SetUserAgentOverride(const std::string& override) = 0;
230 virtual const std::string& GetUserAgentOverride() const = 0; 230 virtual const std::string& GetUserAgentOverride() const = 0;
231 231
ncarter (slow) 2014/05/14 23:56:23 These deserve comments; this is a widely read file
dmazzoni 2014/05/19 07:25:01 Done.
232 virtual void EnableTreeOnlyAccessibilityMode() = 0;
233 virtual bool IsTreeOnlyAccessibilityModeForTesting() const = 0;
234 virtual bool IsFullAccessibilityModeForTesting() const = 0;
235
232 #if defined(OS_WIN) 236 #if defined(OS_WIN)
233 virtual void SetParentNativeViewAccessible( 237 virtual void SetParentNativeViewAccessible(
234 gfx::NativeViewAccessible accessible_parent) = 0; 238 gfx::NativeViewAccessible accessible_parent) = 0;
235 #endif 239 #endif
236 240
237 // Tab navigation state ------------------------------------------------------ 241 // Tab navigation state ------------------------------------------------------
238 242
239 // Returns the current navigation properties, which if a navigation is 243 // Returns the current navigation properties, which if a navigation is
240 // pending may be provisional (e.g., the navigation could result in a 244 // pending may be provisional (e.g., the navigation could result in a
241 // download, in which case the URL would revert to what it was previously). 245 // 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
605 609
606 private: 610 private:
607 // This interface should only be implemented inside content. 611 // This interface should only be implemented inside content.
608 friend class WebContentsImpl; 612 friend class WebContentsImpl;
609 WebContents() {} 613 WebContents() {}
610 }; 614 };
611 615
612 } // namespace content 616 } // namespace content
613 617
614 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 618 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698