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

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

Issue 241303002: Rename WebFrameImpl to WebLocalFrameImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Mac too Created 6 years, 8 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/tests/WebFrameTest.cpp ('k') | Source/web/tests/WebViewTest.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 21 matching lines...) Expand all
32 #include "WebPluginContainer.h" 32 #include "WebPluginContainer.h"
33 33
34 #include <gtest/gtest.h> 34 #include <gtest/gtest.h>
35 #include "FakeWebPlugin.h" 35 #include "FakeWebPlugin.h"
36 #include "FrameTestHelpers.h" 36 #include "FrameTestHelpers.h"
37 #include "URLTestHelpers.h" 37 #include "URLTestHelpers.h"
38 #include "WebDocument.h" 38 #include "WebDocument.h"
39 #include "WebElement.h" 39 #include "WebElement.h"
40 #include "WebFrame.h" 40 #include "WebFrame.h"
41 #include "WebFrameClient.h" 41 #include "WebFrameClient.h"
42 #include "WebFrameImpl.h" 42 #include "WebLocalFrameImpl.h"
43 #include "WebPluginContainerImpl.h" 43 #include "WebPluginContainerImpl.h"
44 #include "WebPluginParams.h" 44 #include "WebPluginParams.h"
45 #include "WebSettings.h" 45 #include "WebSettings.h"
46 #include "WebView.h" 46 #include "WebView.h"
47 #include "WebViewImpl.h" 47 #include "WebViewImpl.h"
48 #include "core/dom/Element.h" 48 #include "core/dom/Element.h"
49 #include "public/platform/Platform.h" 49 #include "public/platform/Platform.h"
50 #include "public/platform/WebClipboard.h" 50 #include "public/platform/WebClipboard.h"
51 #include "public/platform/WebThread.h" 51 #include "public/platform/WebThread.h"
52 #include "public/platform/WebUnitTestSupport.h" 52 #include "public/platform/WebUnitTestSupport.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 webView->resize(WebSize(300, 300)); 170 webView->resize(WebSize(300, 300));
171 webView->layout(); 171 webView->layout();
172 FrameTestHelpers::runPendingTasks(); 172 FrameTestHelpers::runPendingTasks();
173 173
174 WebElement pluginContainerOneElement = webView->mainFrame()->document().getE lementById(WebString::fromUTF8("translated-plugin")); 174 WebElement pluginContainerOneElement = webView->mainFrame()->document().getE lementById(WebString::fromUTF8("translated-plugin"));
175 EXPECT_TRUE(webView->mainFrame()->executeCommand("Copy", pluginContainerOne Element)); 175 EXPECT_TRUE(webView->mainFrame()->executeCommand("Copy", pluginContainerOne Element));
176 EXPECT_EQ(WebString("x"), Platform::current()->clipboard()->readPlainText(We bClipboard::Buffer())); 176 EXPECT_EQ(WebString("x"), Platform::current()->clipboard()->readPlainText(We bClipboard::Buffer()));
177 } 177 }
178 178
179 } 179 }
OLDNEW
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698