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

Side by Side Diff: chrome/browser/ui/views/location_bar/page_info_helper.h

Issue 10828265: Replace views::LocatedEvent with ui::LocatedEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_INFO_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_INFO_HELPER_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_INFO_HELPER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_INFO_HELPER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 class LocationBarView; 10 class LocationBarView;
11 11
12 namespace ui {
13 class LocatedEvent;
14 }
15
12 namespace views { 16 namespace views {
13 class LocatedEvent;
14 class View; 17 class View;
15 } 18 }
16 19
17 // This helper class is kept as a member by classes that need to show the Page 20 // This helper class is kept as a member by classes that need to show the Page
18 // Info dialog on click, to encapsulate that logic in one place. 21 // Info dialog on click, to encapsulate that logic in one place.
19 class PageInfoHelper { 22 class PageInfoHelper {
20 public: 23 public:
21 PageInfoHelper(const views::View* owner, LocationBarView* location_bar); 24 PageInfoHelper(const views::View* owner, LocationBarView* location_bar);
22 25
23 void ProcessEvent(const views::LocatedEvent& event); 26 void ProcessEvent(const ui::LocatedEvent& event);
24 27
25 private: 28 private:
26 const views::View* owner_; 29 const views::View* owner_;
27 LocationBarView* location_bar_; 30 LocationBarView* location_bar_;
28 31
29 DISALLOW_IMPLICIT_CONSTRUCTORS(PageInfoHelper); 32 DISALLOW_IMPLICIT_CONSTRUCTORS(PageInfoHelper);
30 }; 33 };
31 34
32 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_INFO_HELPER_H_ 35 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_INFO_HELPER_H_
33 36
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/fullscreen_exit_bubble_views.cc ('k') | chrome/browser/ui/views/location_bar/page_info_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698