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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2824753005: Rename HostWindow to PlatformChromeClient (Closed)
Patch Set: mac Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
8 reserved. 8 reserved.
9 9
10 This library is free software; you can redistribute it and/or 10 This library is free software; you can redistribute it and/or
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 unsigned = 0) const final; 460 unsigned = 0) const final;
461 RefPtr<WebTaskRunner> GetTimerTaskRunner() const final; 461 RefPtr<WebTaskRunner> GetTimerTaskRunner() const final;
462 462
463 LayoutRect ScrollIntoView(const LayoutRect& rect_in_content, 463 LayoutRect ScrollIntoView(const LayoutRect& rect_in_content,
464 const ScrollAlignment& align_x, 464 const ScrollAlignment& align_x,
465 const ScrollAlignment& align_y, 465 const ScrollAlignment& align_y,
466 ScrollType = kProgrammaticScroll) override; 466 ScrollType = kProgrammaticScroll) override;
467 467
468 // The window that hosts the FrameView. The FrameView will communicate scrolls 468 // The window that hosts the FrameView. The FrameView will communicate scrolls
469 // and repaints to the host window in the window's coordinate space. 469 // and repaints to the host window in the window's coordinate space.
470 HostWindow* GetHostWindow() const; 470 PlatformChromeClient* GetChromeClient() const;
471 471
472 typedef HeapHashSet<Member<FrameViewBase>> ChildrenSet; 472 typedef HeapHashSet<Member<FrameViewBase>> ChildrenSet;
473 typedef HeapHashSet<Member<PluginView>> PluginsSet; 473 typedef HeapHashSet<Member<PluginView>> PluginsSet;
474 474
475 // Functions for child manipulation and inspection. 475 // Functions for child manipulation and inspection.
476 void SetParent(FrameViewBase*) override; 476 void SetParent(FrameViewBase*) override;
477 void RemoveChild(FrameViewBase*); 477 void RemoveChild(FrameViewBase*);
478 void AddChild(FrameViewBase*); 478 void AddChild(FrameViewBase*);
479 const ChildrenSet* Children() const { return &children_; } 479 const ChildrenSet* Children() const { return &children_; }
480 void RemovePlugin(PluginView*); 480 void RemovePlugin(PluginView*);
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 frameViewBase.IsFrameView()); 1271 frameViewBase.IsFrameView());
1272 DEFINE_TYPE_CASTS(FrameView, 1272 DEFINE_TYPE_CASTS(FrameView,
1273 ScrollableArea, 1273 ScrollableArea,
1274 scrollableArea, 1274 scrollableArea,
1275 scrollableArea->IsFrameView(), 1275 scrollableArea->IsFrameView(),
1276 scrollableArea.IsFrameView()); 1276 scrollableArea.IsFrameView());
1277 1277
1278 } // namespace blink 1278 } // namespace blink
1279 1279
1280 #endif // FrameView_h 1280 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698