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

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

Issue 879913003: Use IntRect instead of FloatRect for window positions and sizes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added FIXME comments 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
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/Chrome.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) 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 19 matching lines...) Expand all
30 #include "wtf/Forward.h" 30 #include "wtf/Forward.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class ChromeClient; 34 class ChromeClient;
35 class ColorChooser; 35 class ColorChooser;
36 class ColorChooserClient; 36 class ColorChooserClient;
37 class DateTimeChooser; 37 class DateTimeChooser;
38 class DateTimeChooserClient; 38 class DateTimeChooserClient;
39 class FileChooser; 39 class FileChooser;
40 class FloatRect;
41 class LocalFrame; 40 class LocalFrame;
42 class HTMLInputElement; 41 class HTMLInputElement;
43 class HitTestResult; 42 class HitTestResult;
44 class IntRect; 43 class IntRect;
45 class Node; 44 class Node;
46 class Page; 45 class Page;
47 class PopupMenu; 46 class PopupMenu;
48 class PopupMenuClient; 47 class PopupMenuClient;
49 class PopupOpeningObserver; 48 class PopupOpeningObserver;
50 49
(...skipping 15 matching lines...) Expand all
66 virtual blink::WebScreenInfo screenInfo() const override; 65 virtual blink::WebScreenInfo screenInfo() const override;
67 66
68 virtual void scheduleAnimation() override; 67 virtual void scheduleAnimation() override;
69 68
70 void scheduleAnimationForFrame(LocalFrame* localRoot); 69 void scheduleAnimationForFrame(LocalFrame* localRoot);
71 70
72 void contentsSizeChanged(LocalFrame*, const IntSize&) const; 71 void contentsSizeChanged(LocalFrame*, const IntSize&) const;
73 72
74 void setCursor(const Cursor&); 73 void setCursor(const Cursor&);
75 74
76 void setWindowRect(const FloatRect&) const; 75 void setWindowRect(const IntRect&) const;
77 FloatRect windowRect() const; 76 IntRect windowRect() const;
78 77
79 FloatRect pageRect() const; 78 IntRect pageRect() const;
80 79
81 void focus() const; 80 void focus() const;
82 81
83 bool canTakeFocus(WebFocusType) const; 82 bool canTakeFocus(WebFocusType) const;
84 void takeFocus(WebFocusType) const; 83 void takeFocus(WebFocusType) const;
85 84
86 void focusedNodeChanged(Node*, Node*) const; 85 void focusedNodeChanged(Node*, Node*) const;
87 86
88 void show(NavigationPolicy = NavigationPolicyIgnore) const; 87 void show(NavigationPolicy = NavigationPolicyIgnore) const;
89 88
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 void notifyPopupOpeningObservers() const; 139 void notifyPopupOpeningObservers() const;
141 140
142 Page* m_page; 141 Page* m_page;
143 ChromeClient* m_client; 142 ChromeClient* m_client;
144 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 143 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
145 }; 144 };
146 145
147 } // namespace blink 146 } // namespace blink
148 147
149 #endif // Chrome_h 148 #endif // Chrome_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/Chrome.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698