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

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

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yay, more syncing 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) 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 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "chrome/browser/extensions/image_loading_tracker.h" 13 #include "chrome/browser/extensions/image_loading_tracker.h"
14 #include "chrome/browser/extensions/extension_context_menu_model.h" 14 #include "chrome/browser/extensions/extension_context_menu_model.h"
15 #include "chrome/browser/views/extensions/extension_popup.h" 15 #include "chrome/browser/ui/views/extensions/extension_popup.h"
16 #include "views/controls/image_view.h" 16 #include "views/controls/image_view.h"
17 17
18 class LocationBarView; 18 class LocationBarView;
19 namespace views { 19 namespace views {
20 class Menu2; 20 class Menu2;
21 }; 21 };
22 22
23 // PageActionImageView is used by the LocationBarView to display the icon for a 23 // PageActionImageView is used by the LocationBarView to display the icon for a
24 // given PageAction and notify the extension when the icon is clicked. 24 // given PageAction and notify the extension when the icon is clicked.
25 class PageActionImageView : public views::ImageView, 25 class PageActionImageView : public views::ImageView,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // briefly shown even if it hasn't been enabled by its extension. 104 // briefly shown even if it hasn't been enabled by its extension.
105 bool preview_enabled_; 105 bool preview_enabled_;
106 106
107 // The current popup and the button it came from. NULL if no popup. 107 // The current popup and the button it came from. NULL if no popup.
108 ExtensionPopup* popup_; 108 ExtensionPopup* popup_;
109 109
110 DISALLOW_IMPLICIT_CONSTRUCTORS(PageActionImageView); 110 DISALLOW_IMPLICIT_CONSTRUCTORS(PageActionImageView);
111 }; 111 };
112 112
113 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_ 113 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698