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

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

Issue 137403005: Remove some code inside USE_AURA and OS_WIN ifdefs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 virtual WebUI* CreateWebUI(const GURL& url) = 0; 228 virtual WebUI* CreateWebUI(const GURL& url) = 0;
229 229
230 // Returns the committed WebUI if one exists, otherwise the pending one. 230 // Returns the committed WebUI if one exists, otherwise the pending one.
231 virtual WebUI* GetWebUI() const = 0; 231 virtual WebUI* GetWebUI() const = 0;
232 virtual WebUI* GetCommittedWebUI() const = 0; 232 virtual WebUI* GetCommittedWebUI() const = 0;
233 233
234 // Allows overriding the user agent used for NavigationEntries it owns. 234 // Allows overriding the user agent used for NavigationEntries it owns.
235 virtual void SetUserAgentOverride(const std::string& override) = 0; 235 virtual void SetUserAgentOverride(const std::string& override) = 0;
236 virtual const std::string& GetUserAgentOverride() const = 0; 236 virtual const std::string& GetUserAgentOverride() const = 0;
237 237
238 #if defined(OS_WIN) && defined(USE_AURA) 238 #if defined(OS_WIN)
239 virtual void SetParentNativeViewAccessible( 239 virtual void SetParentNativeViewAccessible(
240 gfx::NativeViewAccessible accessible_parent) = 0; 240 gfx::NativeViewAccessible accessible_parent) = 0;
241 #endif 241 #endif
242 242
243 // Tab navigation state ------------------------------------------------------ 243 // Tab navigation state ------------------------------------------------------
244 244
245 // Returns the current navigation properties, which if a navigation is 245 // Returns the current navigation properties, which if a navigation is
246 // pending may be provisional (e.g., the navigation could result in a 246 // pending may be provisional (e.g., the navigation could result in a
247 // download, in which case the URL would revert to what it was previously). 247 // download, in which case the URL would revert to what it was previously).
248 virtual const base::string16& GetTitle() const = 0; 248 virtual const base::string16& GetTitle() const = 0;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 508
509 private: 509 private:
510 // This interface should only be implemented inside content. 510 // This interface should only be implemented inside content.
511 friend class WebContentsImpl; 511 friend class WebContentsImpl;
512 WebContents() {} 512 WebContents() {}
513 }; 513 };
514 514
515 } // namespace content 515 } // namespace content
516 516
517 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 517 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698