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

Side by Side Diff: sky/engine/web/WebLocalFrameImpl.cpp

Issue 878673005: Get rid of Chrome, use Page. (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/web/SpellCheckerClientImpl.cpp ('k') | sky/engine/web/WebViewImpl.h » ('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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 #include "sky/engine/core/editing/TextIterator.h" 95 #include "sky/engine/core/editing/TextIterator.h"
96 #include "sky/engine/core/editing/htmlediting.h" 96 #include "sky/engine/core/editing/htmlediting.h"
97 #include "sky/engine/core/frame/Console.h" 97 #include "sky/engine/core/frame/Console.h"
98 #include "sky/engine/core/frame/FrameHost.h" 98 #include "sky/engine/core/frame/FrameHost.h"
99 #include "sky/engine/core/frame/FrameView.h" 99 #include "sky/engine/core/frame/FrameView.h"
100 #include "sky/engine/core/frame/LocalDOMWindow.h" 100 #include "sky/engine/core/frame/LocalDOMWindow.h"
101 #include "sky/engine/core/frame/Settings.h" 101 #include "sky/engine/core/frame/Settings.h"
102 #include "sky/engine/core/html/HTMLAnchorElement.h" 102 #include "sky/engine/core/html/HTMLAnchorElement.h"
103 #include "sky/engine/core/inspector/ConsoleMessage.h" 103 #include "sky/engine/core/inspector/ConsoleMessage.h"
104 #include "sky/engine/core/loader/MojoLoader.h" 104 #include "sky/engine/core/loader/MojoLoader.h"
105 #include "sky/engine/core/page/Chrome.h"
106 #include "sky/engine/core/page/EventHandler.h" 105 #include "sky/engine/core/page/EventHandler.h"
107 #include "sky/engine/core/page/FocusController.h" 106 #include "sky/engine/core/page/FocusController.h"
108 #include "sky/engine/core/page/Page.h" 107 #include "sky/engine/core/page/Page.h"
109 #include "sky/engine/core/rendering/HitTestResult.h" 108 #include "sky/engine/core/rendering/HitTestResult.h"
110 #include "sky/engine/core/rendering/RenderBox.h" 109 #include "sky/engine/core/rendering/RenderBox.h"
111 #include "sky/engine/core/rendering/RenderLayer.h" 110 #include "sky/engine/core/rendering/RenderLayer.h"
112 #include "sky/engine/core/rendering/RenderObject.h" 111 #include "sky/engine/core/rendering/RenderObject.h"
113 #include "sky/engine/core/rendering/RenderTreeAsText.h" 112 #include "sky/engine/core/rendering/RenderTreeAsText.h"
114 #include "sky/engine/core/rendering/RenderView.h" 113 #include "sky/engine/core/rendering/RenderView.h"
115 #include "sky/engine/core/rendering/style/StyleInheritedData.h" 114 #include "sky/engine/core/rendering/style/StyleInheritedData.h"
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 655
657 void WebLocalFrameImpl::setInputEventsTransformForEmulation(const IntSize& offse t, float contentScaleFactor) 656 void WebLocalFrameImpl::setInputEventsTransformForEmulation(const IntSize& offse t, float contentScaleFactor)
658 { 657 {
659 m_inputEventsOffsetForEmulation = offset; 658 m_inputEventsOffsetForEmulation = offset;
660 m_inputEventsScaleFactorForEmulation = contentScaleFactor; 659 m_inputEventsScaleFactorForEmulation = contentScaleFactor;
661 if (frame()->view()) 660 if (frame()->view())
662 frame()->view()->setInputEventsTransformForEmulation(m_inputEventsOffset ForEmulation, m_inputEventsScaleFactorForEmulation); 661 frame()->view()->setInputEventsTransformForEmulation(m_inputEventsOffset ForEmulation, m_inputEventsScaleFactorForEmulation);
663 } 662 }
664 663
665 } // namespace blink 664 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/SpellCheckerClientImpl.cpp ('k') | sky/engine/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698