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

Side by Side Diff: chrome/browser/chrome_plugin_browsertest.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
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 <vector> 5 #include <vector>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 17 matching lines...) Expand all
28 #include "content/public/common/content_constants.h" 28 #include "content/public/common/content_constants.h"
29 #include "content/public/common/content_paths.h" 29 #include "content/public/common/content_paths.h"
30 #include "content/public/common/process_type.h" 30 #include "content/public/common/process_type.h"
31 #include "content/public/common/webplugininfo.h" 31 #include "content/public/common/webplugininfo.h"
32 #include "content/public/test/browser_test_utils.h" 32 #include "content/public/test/browser_test_utils.h"
33 #include "content/public/test/test_utils.h" 33 #include "content/public/test/test_utils.h"
34 #include "net/base/net_util.h" 34 #include "net/base/net_util.h"
35 35
36 #if defined(OS_WIN) 36 #if defined(OS_WIN)
37 #include "content/public/browser/web_contents_view.h" 37 #include "content/public/browser/web_contents_view.h"
38 #include "ui/aura/root_window.h"
39 #include "ui/aura/window.h" 38 #include "ui/aura/window.h"
39 #include "ui/aura/window_event_dispatcher.h"
40 #endif 40 #endif
41 41
42 using content::BrowserThread; 42 using content::BrowserThread;
43 43
44 namespace { 44 namespace {
45 45
46 class CallbackBarrier : public base::RefCountedThreadSafe<CallbackBarrier> { 46 class CallbackBarrier : public base::RefCountedThreadSafe<CallbackBarrier> {
47 public: 47 public:
48 explicit CallbackBarrier(const base::Closure& target_callback) 48 explicit CallbackBarrier(const base::Closure& target_callback)
49 : target_callback_(target_callback), 49 : target_callback_(target_callback),
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 HWND hwnd = tab->GetView()->GetNativeView()->GetDispatcher()->host()-> 330 HWND hwnd = tab->GetView()->GetNativeView()->GetDispatcher()->host()->
331 GetAcceleratedWidget(); 331 GetAcceleratedWidget();
332 EnumChildWindows(hwnd, EnumerateChildren,reinterpret_cast<LPARAM>(&child)); 332 EnumChildWindows(hwnd, EnumerateChildren,reinterpret_cast<LPARAM>(&child));
333 333
334 RECT region; 334 RECT region;
335 int result = GetWindowRgnBox(child, &region); 335 int result = GetWindowRgnBox(child, &region);
336 ASSERT_NE(result, NULLREGION); 336 ASSERT_NE(result, NULLREGION);
337 } 337 }
338 338
339 #endif 339 #endif
OLDNEW
« no previous file with comments | « ash/wm/workspace_controller_unittest.cc ('k') | chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698