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

Side by Side Diff: sky/engine/core/page/Page.h

Issue 871683002: Remove a number of unused features from WebViewImpl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/page/EventHandler.cpp ('k') | sky/engine/core/page/Page.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, 2010, 2013 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 PageAnimator& animator() { return m_animator; } 99 PageAnimator& animator() { return m_animator; }
100 Chrome& chrome() const { return *m_chrome; } 100 Chrome& chrome() const { return *m_chrome; }
101 AutoscrollController& autoscrollController() const { return *m_autoscrollCon troller; } 101 AutoscrollController& autoscrollController() const { return *m_autoscrollCon troller; }
102 DragCaretController& dragCaretController() const { return *m_dragCaretContro ller; } 102 DragCaretController& dragCaretController() const { return *m_dragCaretContro ller; }
103 FocusController& focusController() const { return *m_focusController; } 103 FocusController& focusController() const { return *m_focusController; }
104 104
105 Settings& settings() const { return *m_settings; } 105 Settings& settings() const { return *m_settings; }
106 106
107 UseCounter& useCounter() { return m_useCounter; } 107 UseCounter& useCounter() { return m_useCounter; }
108 108
109 void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements = b; }
110 bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughEleme nts; }
111
112 void unmarkAllTextMatches(); 109 void unmarkAllTextMatches();
113 110
114 float deviceScaleFactor() const { return m_deviceScaleFactor; } 111 float deviceScaleFactor() const { return m_deviceScaleFactor; }
115 void setDeviceScaleFactor(float); 112 void setDeviceScaleFactor(float);
116 113
117 PageVisibilityState visibilityState() const; 114 PageVisibilityState visibilityState() const;
118 void setVisibilityState(PageVisibilityState, bool); 115 void setVisibilityState(PageVisibilityState, bool);
119 116
120 bool isCursorVisible() const; 117 bool isCursorVisible() const;
121 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } 118 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // other, thus keeping each other alive. The call to willBeDestroyed() 172 // other, thus keeping each other alive. The call to willBeDestroyed()
176 // breaks this cycle, so the frame is still properly destroyed once no 173 // breaks this cycle, so the frame is still properly destroyed once no
177 // longer needed. 174 // longer needed.
178 LocalFrame* m_mainFrame; 175 LocalFrame* m_mainFrame;
179 176
180 EditorClient* const m_editorClient; 177 EditorClient* const m_editorClient;
181 SpellCheckerClient* const m_spellCheckerClient; 178 SpellCheckerClient* const m_spellCheckerClient;
182 179
183 UseCounter m_useCounter; 180 UseCounter m_useCounter;
184 181
185 bool m_tabKeyCyclesThroughElements;
186
187 float m_deviceScaleFactor; 182 float m_deviceScaleFactor;
188 183
189 double m_timerAlignmentInterval; 184 double m_timerAlignmentInterval;
190 185
191 PageVisibilityState m_visibilityState; 186 PageVisibilityState m_visibilityState;
192 187
193 bool m_isCursorVisible; 188 bool m_isCursorVisible;
194 189
195 #if ENABLE(ASSERT) 190 #if ENABLE(ASSERT)
196 bool m_isPainting; 191 bool m_isPainting;
197 #endif 192 #endif
198 193
199 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve rs; 194 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve rs;
200 195
201 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 196 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
202 // FIXME: Most of the members of Page should move onto FrameHost. 197 // FIXME: Most of the members of Page should move onto FrameHost.
203 OwnPtr<FrameHost> m_frameHost; 198 OwnPtr<FrameHost> m_frameHost;
204 }; 199 };
205 200
206 } // namespace blink 201 } // namespace blink
207 202
208 #endif // SKY_ENGINE_CORE_PAGE_PAGE_H_ 203 #endif // SKY_ENGINE_CORE_PAGE_PAGE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/page/EventHandler.cpp ('k') | sky/engine/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698