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

Side by Side Diff: Source/core/page/Chrome.h

Issue 749333002: Plumbing for frame-specific WebWidgets (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: dcheng review comments Created 6 years 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 ChromeClient& client() { return *m_client; } 61 ChromeClient& client() { return *m_client; }
62 62
63 // HostWindow methods. 63 // HostWindow methods.
64 virtual void invalidateContentsAndRootView(const IntRect&) override; 64 virtual void invalidateContentsAndRootView(const IntRect&) override;
65 virtual void invalidateContentsForSlowScroll(const IntRect&) override; 65 virtual void invalidateContentsForSlowScroll(const IntRect&) override;
66 virtual IntRect rootViewToScreen(const IntRect&) const override; 66 virtual IntRect rootViewToScreen(const IntRect&) const override;
67 virtual blink::WebScreenInfo screenInfo() const override; 67 virtual blink::WebScreenInfo screenInfo() const override;
68 68
69 virtual void scheduleAnimation() override; 69 virtual void scheduleAnimation() override;
70 70
71 void scheduleAnimationForFrame(LocalFrame* localFrameRoot);
72
71 void contentsSizeChanged(LocalFrame*, const IntSize&) const; 73 void contentsSizeChanged(LocalFrame*, const IntSize&) const;
72 74
73 void setCursor(const Cursor&); 75 void setCursor(const Cursor&);
74 76
75 void setWindowRect(const FloatRect&) const; 77 void setWindowRect(const FloatRect&) const;
76 FloatRect windowRect() const; 78 FloatRect windowRect() const;
77 79
78 FloatRect pageRect() const; 80 FloatRect pageRect() const;
79 81
80 void focus() const; 82 void focus() const;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void notifyPopupOpeningObservers() const; 139 void notifyPopupOpeningObservers() const;
138 140
139 Page* m_page; 141 Page* m_page;
140 ChromeClient* m_client; 142 ChromeClient* m_client;
141 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 143 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
142 }; 144 };
143 145
144 } // namespace blink 146 } // namespace blink
145 147
146 #endif // Chrome_h 148 #endif // Chrome_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698