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

Side by Side Diff: chrome/browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc

Issue 6099014: Move chrome/browser/gtk to chrome/browser/ui/gtk (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Move browser/gtk/ to browser/ui/gtk/, leave header stubs, update new header guards Created 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/menus/simple_menu_model.h" 5 #include "app/menus/simple_menu_model.h"
6 #include "app/resource_bundle.h" 6 #include "app/resource_bundle.h"
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/gtk/status_icons/status_icon_gtk.h" 9 #include "chrome/browser/gtk/status_icons/status_icon_gtk.h"
10 #include "chrome/browser/gtk/status_icons/status_tray_gtk.h" 10 #include "chrome/browser/gtk/status_icons/status_tray_gtk.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 StatusIconGtk* icon = static_cast<StatusIconGtk*>(tray.CreateStatusIcon()); 45 StatusIconGtk* icon = static_cast<StatusIconGtk*>(tray.CreateStatusIcon());
46 MockStatusIconObserver observer; 46 MockStatusIconObserver observer;
47 icon->AddObserver(&observer); 47 icon->AddObserver(&observer);
48 EXPECT_CALL(observer, OnClicked()); 48 EXPECT_CALL(observer, OnClicked());
49 // Mimic a click. 49 // Mimic a click.
50 icon->OnClick(NULL); 50 icon->OnClick(NULL);
51 icon->RemoveObserver(&observer); 51 icon->RemoveObserver(&observer);
52 } 52 }
53 53
54 } // namespace 54 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/status_icons/status_tray_gtk.cc ('k') | chrome/browser/ui/gtk/tab_contents_container_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698