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

Side by Side Diff: Source/web/tests/WebFrameTest.cpp

Issue 153343003: Move Clipboard-related code from core/dom to core/clipboard (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "WebScriptSource.h" 50 #include "WebScriptSource.h"
51 #include "WebSearchableFormData.h" 51 #include "WebSearchableFormData.h"
52 #include "WebSecurityOrigin.h" 52 #include "WebSecurityOrigin.h"
53 #include "WebSecurityPolicy.h" 53 #include "WebSecurityPolicy.h"
54 #include "WebSettings.h" 54 #include "WebSettings.h"
55 #include "WebSpellCheckClient.h" 55 #include "WebSpellCheckClient.h"
56 #include "WebTextCheckingCompletion.h" 56 #include "WebTextCheckingCompletion.h"
57 #include "WebTextCheckingResult.h" 57 #include "WebTextCheckingResult.h"
58 #include "WebViewClient.h" 58 #include "WebViewClient.h"
59 #include "WebViewImpl.h" 59 #include "WebViewImpl.h"
60 #include "core/dom/Clipboard.h" 60 #include "core/clipboard/Clipboard.h"
61 #include "core/dom/DocumentMarkerController.h" 61 #include "core/dom/DocumentMarkerController.h"
62 #include "core/events/MouseEvent.h"
63 #include "core/dom/Range.h" 62 #include "core/dom/Range.h"
64 #include "core/editing/Editor.h" 63 #include "core/editing/Editor.h"
65 #include "core/editing/FrameSelection.h" 64 #include "core/editing/FrameSelection.h"
66 #include "core/editing/SpellChecker.h" 65 #include "core/editing/SpellChecker.h"
67 #include "core/editing/VisiblePosition.h" 66 #include "core/editing/VisiblePosition.h"
67 #include "core/events/MouseEvent.h"
68 #include "core/html/HTMLFormElement.h" 68 #include "core/html/HTMLFormElement.h"
69 #include "core/loader/FrameLoadRequest.h" 69 #include "core/loader/FrameLoadRequest.h"
70 #include "core/page/EventHandler.h" 70 #include "core/page/EventHandler.h"
71 #include "core/frame/Frame.h" 71 #include "core/frame/Frame.h"
72 #include "core/frame/FrameView.h" 72 #include "core/frame/FrameView.h"
73 #include "core/frame/Settings.h" 73 #include "core/frame/Settings.h"
74 #include "core/rendering/HitTestResult.h" 74 #include "core/rendering/HitTestResult.h"
75 #include "core/rendering/RenderLayerCompositor.h" 75 #include "core/rendering/RenderLayerCompositor.h"
76 #include "core/rendering/RenderView.h" 76 #include "core/rendering/RenderView.h"
77 #include "core/rendering/TextAutosizer.h" 77 #include "core/rendering/TextAutosizer.h"
(...skipping 5052 matching lines...) Expand 10 before | Expand all | Expand 10 after
5130 // Change width, ensure optimized logic for height change doesn't break repaint on width change. 5130 // Change width, ensure optimized logic for height change doesn't break repaint on width change.
5131 frameView->setTracksRepaints(true); 5131 frameView->setTracksRepaints(true);
5132 webView->resize(WebSize(300, 300)); 5132 webView->resize(WebSize(300, 300));
5133 webView->layout(); 5133 webView->layout();
5134 EXPECT_EQ_RECT(WebCore::IntRect(0, 0, 300, 300), WebCore::unionRect(fram eView->trackedRepaintRects())); 5134 EXPECT_EQ_RECT(WebCore::IntRect(0, 0, 300, 300), WebCore::unionRect(fram eView->trackedRepaintRects()));
5135 frameView->setTracksRepaints(false); 5135 frameView->setTracksRepaints(false);
5136 } 5136 }
5137 } 5137 }
5138 5138
5139 } // namespace 5139 } // namespace
OLDNEW
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698