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

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

Issue 915293003: Rename sky/engine/bindings2 to sky/engine/bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more better 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 | « sky/engine/web/WebElement.cpp ('k') | sky/engine/web/WebNode.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) 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // triggering its deletion unless something else is still retaining a reference. 67 // triggering its deletion unless something else is still retaining a reference.
68 // 68 //
69 // Thie client is expected to be set whenever the WebLocalFrameImpl is attached to 69 // Thie client is expected to be set whenever the WebLocalFrameImpl is attached to
70 // the DOM. 70 // the DOM.
71 71
72 #include "sky/engine/config.h" 72 #include "sky/engine/config.h"
73 #include "sky/engine/web/WebLocalFrameImpl.h" 73 #include "sky/engine/web/WebLocalFrameImpl.h"
74 74
75 #include <algorithm> 75 #include <algorithm>
76 #include "mojo/public/cpp/system/data_pipe.h" 76 #include "mojo/public/cpp/system/data_pipe.h"
77 #include "sky/engine/bindings2/exception_state.h" 77 #include "sky/engine/bindings/exception_state.h"
78 #include "sky/engine/bindings2/exception_state_placeholder.h" 78 #include "sky/engine/bindings/exception_state_placeholder.h"
79 #include "sky/engine/core/dom/Document.h" 79 #include "sky/engine/core/dom/Document.h"
80 #include "sky/engine/core/dom/Node.h" 80 #include "sky/engine/core/dom/Node.h"
81 #include "sky/engine/core/dom/NodeTraversal.h" 81 #include "sky/engine/core/dom/NodeTraversal.h"
82 #include "sky/engine/core/dom/shadow/ShadowRoot.h" 82 #include "sky/engine/core/dom/shadow/ShadowRoot.h"
83 #include "sky/engine/core/editing/Editor.h" 83 #include "sky/engine/core/editing/Editor.h"
84 #include "sky/engine/core/editing/FrameSelection.h" 84 #include "sky/engine/core/editing/FrameSelection.h"
85 #include "sky/engine/core/editing/InputMethodController.h" 85 #include "sky/engine/core/editing/InputMethodController.h"
86 #include "sky/engine/core/editing/PlainTextRange.h" 86 #include "sky/engine/core/editing/PlainTextRange.h"
87 #include "sky/engine/core/editing/SpellChecker.h" 87 #include "sky/engine/core/editing/SpellChecker.h"
88 #include "sky/engine/core/editing/TextAffinity.h" 88 #include "sky/engine/core/editing/TextAffinity.h"
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 610
611 void WebLocalFrameImpl::setInputEventsTransformForEmulation(const IntSize& offse t, float contentScaleFactor) 611 void WebLocalFrameImpl::setInputEventsTransformForEmulation(const IntSize& offse t, float contentScaleFactor)
612 { 612 {
613 m_inputEventsOffsetForEmulation = offset; 613 m_inputEventsOffsetForEmulation = offset;
614 m_inputEventsScaleFactorForEmulation = contentScaleFactor; 614 m_inputEventsScaleFactorForEmulation = contentScaleFactor;
615 if (frame()->view()) 615 if (frame()->view())
616 frame()->view()->setInputEventsTransformForEmulation(m_inputEventsOffset ForEmulation, m_inputEventsScaleFactorForEmulation); 616 frame()->view()->setInputEventsTransformForEmulation(m_inputEventsOffset ForEmulation, m_inputEventsScaleFactorForEmulation);
617 } 617 }
618 618
619 } // namespace blink 619 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/WebElement.cpp ('k') | sky/engine/web/WebNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698