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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_view_browsertest.cc

Issue 8656004: Remove more totally obvious usage of: defined(TOUCH_UI) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/i18n/time_formatting.h" 5 #include "base/i18n/time_formatting.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "chrome/browser/extensions/extension_service.h" 7 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/browser/ui/panels/base_panel_browser_test.h" 10 #include "chrome/browser/ui/panels/base_panel_browser_test.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 return is_cursor_in_view_; 43 return is_cursor_in_view_;
44 } 44 }
45 45
46 void MoveMouse(bool is_cursor_in_view) { 46 void MoveMouse(bool is_cursor_in_view) {
47 is_cursor_in_view_ = is_cursor_in_view; 47 is_cursor_in_view_ = is_cursor_in_view;
48 48
49 #if defined(OS_WIN) 49 #if defined(OS_WIN)
50 MSG msg; 50 MSG msg;
51 msg.message = WM_MOUSEMOVE; 51 msg.message = WM_MOUSEMOVE;
52 DidProcessEvent(msg); 52 DidProcessEvent(msg);
53 #elif defined(TOUCH_UI) || defined(USE_AURA) 53 #elif defined(USE_AURA)
54 NOTIMPLEMENTED(); 54 NOTIMPLEMENTED();
55 #elif defined(TOOLKIT_USES_GTK) 55 #elif defined(TOOLKIT_USES_GTK)
56 GdkEvent event; 56 GdkEvent event;
57 event.type = GDK_MOTION_NOTIFY; 57 event.type = GDK_MOTION_NOTIFY;
58 DidProcessEvent(&event); 58 DidProcessEvent(&event);
59 #endif 59 #endif
60 } 60 }
61 61
62 private: 62 private:
63 bool is_cursor_in_view_; 63 bool is_cursor_in_view_;
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 // TODO(jianli): Investigate why this fails on win trunk build. 608 // TODO(jianli): Investigate why this fails on win trunk build.
609 // http://crbug.com/102734 609 // http://crbug.com/102734
610 IN_PROC_BROWSER_TEST_F(PanelBrowserViewTest, DISABLED_DrawAttention) { 610 IN_PROC_BROWSER_TEST_F(PanelBrowserViewTest, DISABLED_DrawAttention) {
611 TestDrawAttention(); 611 TestDrawAttention();
612 } 612 }
613 613
614 IN_PROC_BROWSER_TEST_F(PanelBrowserViewTest, ChangeAutoHideTaskBarThickness) { 614 IN_PROC_BROWSER_TEST_F(PanelBrowserViewTest, ChangeAutoHideTaskBarThickness) {
615 TestChangeAutoHideTaskBarThickness(); 615 TestChangeAutoHideTaskBarThickness();
616 } 616 }
617 #endif 617 #endif
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_frame_view.cc ('k') | chrome/browser/ui/webui/chrome_url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698