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

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

Issue 9416031: Prerendered pages are swapped in at browser::Navigate time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup Created 8 years, 10 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 // locked. 358 // locked.
359 virtual bool GotResponseToLockMouseRequest(bool allowed) = 0; 359 virtual bool GotResponseToLockMouseRequest(bool allowed) = 0;
360 360
361 // Returns true if the location bar should be focused by default rather than 361 // Returns true if the location bar should be focused by default rather than
362 // the page contents. The view calls this function when the tab is focused 362 // the page contents. The view calls this function when the tab is focused
363 // to see what it should do. 363 // to see what it should do.
364 virtual bool FocusLocationBarByDefault() = 0; 364 virtual bool FocusLocationBarByDefault() = 0;
365 365
366 // Focuses the location bar. 366 // Focuses the location bar.
367 virtual void SetFocusToLocationBar(bool select_all) = 0; 367 virtual void SetFocusToLocationBar(bool select_all) = 0;
368
369 // Get the origin of the opener.
370 virtual const GURL& GetOpenerOrigin() const = 0;
368 }; 371 };
369 372
370 } // namespace content 373 } // namespace content
371 374
372 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 375 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698