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

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

Issue 896583003: Add risk data to getrealpan request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 // Returns the native widget that contains the contents of the tab. 401 // Returns the native widget that contains the contents of the tab.
402 virtual gfx::NativeView GetNativeView() = 0; 402 virtual gfx::NativeView GetNativeView() = 0;
403 403
404 // Returns the native widget with the main content of the tab (i.e. the main 404 // Returns the native widget with the main content of the tab (i.e. the main
405 // render view host, though there may be many popups in the tab as children of 405 // render view host, though there may be many popups in the tab as children of
406 // the container). 406 // the container).
407 virtual gfx::NativeView GetContentNativeView() = 0; 407 virtual gfx::NativeView GetContentNativeView() = 0;
408 408
409 // Returns the outermost native view. This will be used as the parent for 409 // Returns the outermost native view. This will be used as the parent for
410 // dialog boxes. 410 // dialog boxes.
411 virtual gfx::NativeWindow GetTopLevelNativeWindow() = 0; 411 virtual gfx::NativeWindow GetTopLevelNativeWindow() const = 0;
jam 2015/02/03 05:53:43 they don't have const by design. see http://www.ch
Evan Stade 2015/02/03 17:48:40 ok, will remove changes to content. Why do some of
412 412
413 // Computes the rectangle for the native widget that contains the contents of 413 // Computes the rectangle for the native widget that contains the contents of
414 // the tab in the screen coordinate system. 414 // the tab in the screen coordinate system.
415 virtual gfx::Rect GetContainerBounds() = 0; 415 virtual gfx::Rect GetContainerBounds() const = 0;
416 416
417 // Get the bounds of the View, relative to the parent. 417 // Get the bounds of the View, relative to the parent.
418 virtual gfx::Rect GetViewBounds() = 0; 418 virtual gfx::Rect GetViewBounds() = 0;
419 419
420 // Returns the current drop data, if any. 420 // Returns the current drop data, if any.
421 virtual DropData* GetDropData() = 0; 421 virtual DropData* GetDropData() = 0;
422 422
423 // Sets focus to the native widget for this tab. 423 // Sets focus to the native widget for this tab.
424 virtual void Focus() = 0; 424 virtual void Focus() = 0;
425 425
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 618
619 private: 619 private:
620 // This interface should only be implemented inside content. 620 // This interface should only be implemented inside content.
621 friend class WebContentsImpl; 621 friend class WebContentsImpl;
622 WebContents() {} 622 WebContents() {}
623 }; 623 };
624 624
625 } // namespace content 625 } // namespace content
626 626
627 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 627 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« chrome/browser/autofill/risk_util.cc ('K') | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698