Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / page / Page.h
index 2121d02..c0bf5bf 100644 (file)
@@ -54,20 +54,12 @@ class EditorClient;
 class FocusController;
 class Frame;
 class FrameHost;
-class HistoryItem;
 class InspectorClient;
 class InspectorController;
 class PageLifecycleNotifier;
-class PlatformMouseEvent;
 class PluginData;
 class PointerLockController;
-class Range;
-class RenderBox;
-class RenderObject;
-class RenderTheme;
 class StorageClient;
-class VisibleSelection;
-class ScrollableArea;
 class ScrollingCoordinator;
 class Settings;
 class SpellCheckerClient;
@@ -184,6 +176,8 @@ public:
 
     float deviceScaleFactor() const { return m_deviceScaleFactor; }
     void setDeviceScaleFactor(float);
+    void setDeviceColorProfile(const Vector<char>&);
+    void resetDeviceColorProfile();
 
     static void allVisitedStateChanged();
     static void visitedStateChanged(LinkHash visitedHash);
@@ -252,7 +246,7 @@ private:
     const OwnPtr<Chrome> m_chrome;
     const OwnPtrWillBeMember<DragCaretController> m_dragCaretController;
     const OwnPtrWillBeMember<DragController> m_dragController;
-    const OwnPtr<FocusController> m_focusController;
+    const OwnPtrWillBeMember<FocusController> m_focusController;
     const OwnPtrWillBeMember<ContextMenuController> m_contextMenuController;
     const OwnPtrWillBeMember<InspectorController> m_inspectorController;
     const OwnPtrWillBeMember<PointerLockController> m_pointerLockController;
@@ -271,7 +265,7 @@ private:
     // other, thus keeping each other alive. The call to willBeDestroyed()
     // breaks this cycle, so the frame is still properly destroyed once no
     // longer needed.
-    Frame* m_mainFrame;
+    RawPtrWillBeMember<Frame> m_mainFrame;
 
     mutable RefPtr<PluginData> m_pluginData;