diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 21:09:56 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 21:09:56 +0000 |
commit | ba69a7db718bd6815e154b36cead5d0e25d9e45e (patch) | |
tree | 57a415ee022130e50bd27e8346fc02f6d2a238cc /chrome/browser/gtk | |
parent | d55aaa139da94452ebd6812bfa9241ba050978d9 (diff) | |
download | chromium_src-ba69a7db718bd6815e154b36cead5d0e25d9e45e.zip chromium_src-ba69a7db718bd6815e154b36cead5d0e25d9e45e.tar.gz chromium_src-ba69a7db718bd6815e154b36cead5d0e25d9e45e.tar.bz2 |
Moving ContextualAction class to common/extensions and in the process renaming it ExtensionAction.
No code change.
BUG=None
TEST=Page actions and browser actions should work as before (no change)
Review URL: http://codereview.chromium.org/242035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27406 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r-- | chrome/browser/gtk/location_bar_view_gtk.cc | 6 | ||||
-rw-r--r-- | chrome/browser/gtk/location_bar_view_gtk.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/gtk/location_bar_view_gtk.cc b/chrome/browser/gtk/location_bar_view_gtk.cc index eb32632..3a7544f 100644 --- a/chrome/browser/gtk/location_bar_view_gtk.cc +++ b/chrome/browser/gtk/location_bar_view_gtk.cc @@ -401,7 +401,7 @@ void LocationBarViewGtk::FocusSearch() { } void LocationBarViewGtk::UpdatePageActions() { - std::vector<ContextualAction*> page_actions; + std::vector<ExtensionAction*> page_actions; if (profile_->GetExtensionsService()) page_actions = profile_->GetExtensionsService()->GetPageActions(); @@ -674,7 +674,7 @@ gboolean LocationBarViewGtk::OnSecurityIconPressed( LocationBarViewGtk::PageActionViewGtk::PageActionViewGtk( LocationBarViewGtk* owner, Profile* profile, - const ContextualAction* page_action) + const ExtensionAction* page_action) : owner_(owner), profile_(profile), page_action_(page_action) { @@ -719,7 +719,7 @@ void LocationBarViewGtk::PageActionViewGtk::UpdateVisibility( current_tab_id_ = ExtensionTabUtil::GetTabId(contents); current_url_ = url; - const ContextualActionState* state = + const ExtensionActionState* state = contents->GetPageActionState(page_action_); bool visible = state != NULL; if (visible) { diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h index c0497add..21d4d75 100644 --- a/chrome/browser/gtk/location_bar_view_gtk.h +++ b/chrome/browser/gtk/location_bar_view_gtk.h @@ -28,7 +28,7 @@ class BubblePositioner; class Browser; class CommandUpdater; class GtkThemeProvider; -class ContextualAction; +class ExtensionAction; class Profile; class SkBitmap; class TabContents; @@ -104,7 +104,7 @@ class LocationBarViewGtk : public AutocompleteEditController, public: PageActionViewGtk( LocationBarViewGtk* owner, Profile* profile, - const ContextualAction* page_action); + const ExtensionAction* page_action); virtual ~PageActionViewGtk(); GtkWidget* widget() { return event_box_.get(); } @@ -129,7 +129,7 @@ class LocationBarViewGtk : public AutocompleteEditController, // The PageAction that this view represents. The PageAction is not owned by // us, it resides in the extension of this particular profile. - const ContextualAction* page_action_; + const ExtensionAction* page_action_; // The icons representing different states for the page action. std::vector<GdkPixbuf*> pixbufs_; |