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

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

Issue 329053004: Fix race in BrowserAccessibilityManagerWin creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 virtual WebUI* CreateWebUI(const GURL& url) = 0; 219 virtual WebUI* CreateWebUI(const GURL& url) = 0;
220 220
221 // Returns the committed WebUI if one exists, otherwise the pending one. 221 // Returns the committed WebUI if one exists, otherwise the pending one.
222 virtual WebUI* GetWebUI() const = 0; 222 virtual WebUI* GetWebUI() const = 0;
223 virtual WebUI* GetCommittedWebUI() const = 0; 223 virtual WebUI* GetCommittedWebUI() const = 0;
224 224
225 // Allows overriding the user agent used for NavigationEntries it owns. 225 // Allows overriding the user agent used for NavigationEntries it owns.
226 virtual void SetUserAgentOverride(const std::string& override) = 0; 226 virtual void SetUserAgentOverride(const std::string& override) = 0;
227 virtual const std::string& GetUserAgentOverride() const = 0; 227 virtual const std::string& GetUserAgentOverride() const = 0;
228 228
229 #if defined(OS_WIN)
230 virtual void SetParentNativeViewAccessible(
231 gfx::NativeViewAccessible accessible_parent) = 0;
232 #endif
233
234 // Tab navigation state ------------------------------------------------------ 229 // Tab navigation state ------------------------------------------------------
235 230
236 // Returns the current navigation properties, which if a navigation is 231 // Returns the current navigation properties, which if a navigation is
237 // pending may be provisional (e.g., the navigation could result in a 232 // pending may be provisional (e.g., the navigation could result in a
238 // download, in which case the URL would revert to what it was previously). 233 // download, in which case the URL would revert to what it was previously).
239 virtual const base::string16& GetTitle() const = 0; 234 virtual const base::string16& GetTitle() const = 0;
240 235
241 // The max page ID for any page that the current SiteInstance has loaded in 236 // The max page ID for any page that the current SiteInstance has loaded in
242 // this WebContents. Page IDs are specific to a given SiteInstance and 237 // this WebContents. Page IDs are specific to a given SiteInstance and
243 // WebContents, corresponding to a specific RenderView in the renderer. 238 // WebContents, corresponding to a specific RenderView in the renderer.
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 592
598 private: 593 private:
599 // This interface should only be implemented inside content. 594 // This interface should only be implemented inside content.
600 friend class WebContentsImpl; 595 friend class WebContentsImpl;
601 WebContents() {} 596 WebContents() {}
602 }; 597 };
603 598
604 } // namespace content 599 } // namespace content
605 600
606 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 601 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698