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

Side by Side Diff: chrome/browser/ui/panels/panel_mouse_watcher.h

Issue 10544113: Revert 141690 - Modify old Panel test files and include them in .gyp. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « chrome/browser/ui/panels/panel_browser_window.h ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 28 matching lines...) Expand all
39 // |mouse_position| is in screen coordinates. 39 // |mouse_position| is in screen coordinates.
40 virtual void NotifyMouseMovement(const gfx::Point& mouse_position); 40 virtual void NotifyMouseMovement(const gfx::Point& mouse_position);
41 41
42 // Returns true if watching mouse movements. 42 // Returns true if watching mouse movements.
43 virtual bool IsActive() const = 0; 43 virtual bool IsActive() const = 0;
44 44
45 private: 45 private:
46 friend class PanelMouseWatcherTest; 46 friend class PanelMouseWatcherTest;
47 FRIEND_TEST_ALL_PREFIXES(PanelMouseWatcherTest, StartStopWatching); 47 FRIEND_TEST_ALL_PREFIXES(PanelMouseWatcherTest, StartStopWatching);
48 friend class BasePanelBrowserTest; 48 friend class BasePanelBrowserTest;
49 friend class OldBasePanelBrowserTest; 49 FRIEND_TEST_ALL_PREFIXES(PanelOverflowBrowserTest, FullScreenMode);
50 50
51 // Start/stop tracking mouse movements. 51 // Start/stop tracking mouse movements.
52 virtual void Start() = 0; 52 virtual void Start() = 0;
53 virtual void Stop() = 0; 53 virtual void Stop() = 0;
54 54
55 ObserverList<PanelMouseWatcherObserver> observers_; 55 ObserverList<PanelMouseWatcherObserver> observers_;
56 }; 56 };
57 57
58 #endif // CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_H_ 58 #endif // CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window.h ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698