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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin_browsertest.cc

Issue 11826005: Browser Plugin: Implement BrowserPluginObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/browser_plugin/browser_plugin_browsertest.h" 5 #include "content/renderer/browser_plugin/browser_plugin_browsertest.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "content/common/browser_plugin_messages.h" 11 #include "content/common/browser_plugin_messages.h"
12 #include "content/public/common/content_constants.h" 12 #include "content/public/common/content_constants.h"
13 #include "content/renderer/browser_plugin/browser_plugin.h" 13 #include "content/renderer/browser_plugin/browser_plugin_impl.h"
14 #include "content/renderer/browser_plugin/browser_plugin_manager_factory.h" 14 #include "content/renderer/browser_plugin/browser_plugin_manager_factory.h"
15 #include "content/renderer/browser_plugin/mock_browser_plugin.h" 15 #include "content/renderer/browser_plugin/mock_browser_plugin.h"
16 #include "content/renderer/browser_plugin/mock_browser_plugin_manager.h" 16 #include "content/renderer/browser_plugin/mock_browser_plugin_manager.h"
17 #include "content/renderer/render_thread_impl.h" 17 #include "content/renderer/render_thread_impl.h"
18 #include "content/renderer/renderer_webkitplatformsupport_impl.h" 18 #include "content/renderer/renderer_webkitplatformsupport_impl.h"
19 #include "skia/ext/platform_canvas.h" 19 #include "skia/ext/platform_canvas.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h"
23 23
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 &resize_params); 832 &resize_params);
833 EXPECT_FALSE(auto_size_params.enable); 833 EXPECT_FALSE(auto_size_params.enable);
834 EXPECT_EQ(42, auto_size_params.min_size.width()); 834 EXPECT_EQ(42, auto_size_params.min_size.width());
835 EXPECT_EQ(43, auto_size_params.min_size.height()); 835 EXPECT_EQ(43, auto_size_params.min_size.height());
836 EXPECT_EQ(1337, auto_size_params.max_size.width()); 836 EXPECT_EQ(1337, auto_size_params.max_size.width());
837 EXPECT_EQ(1338, auto_size_params.max_size.height()); 837 EXPECT_EQ(1338, auto_size_params.max_size.height());
838 } 838 }
839 } 839 }
840 840
841 } // namespace content 841 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698