summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/gtk')
-rw-r--r--chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h2
-rw-r--r--chrome/browser/ui/gtk/browser_titlebar.cc3
-rw-r--r--chrome/browser/ui/gtk/browser_toolbar_gtk.h2
-rw-r--r--chrome/browser/ui/gtk/bubble/bubble_gtk.h2
-rw-r--r--chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h4
-rw-r--r--chrome/browser/ui/gtk/custom_drag.h2
-rw-r--r--chrome/browser/ui/gtk/download/download_shelf_gtk.h2
-rw-r--r--chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.h4
-rw-r--r--chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.h4
-rw-r--r--chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.h4
-rw-r--r--chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h4
-rw-r--r--chrome/browser/ui/gtk/infobars/infobar_container_gtk.h3
-rw-r--r--chrome/browser/ui/gtk/infobars/infobar_gtk.h2
-rw-r--r--chrome/browser/ui/gtk/infobars/link_infobar_gtk.h3
-rw-r--r--chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h4
-rw-r--r--chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h4
-rw-r--r--chrome/browser/ui/gtk/sad_tab_gtk.h2
-rw-r--r--chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc12
18 files changed, 30 insertions, 33 deletions
diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h
index 3e075a8..07cddc8 100644
--- a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h
+++ b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h
@@ -27,7 +27,7 @@ class BookmarkBarInstructionsGtk : public NotificationObserver {
virtual ~Delegate() {}
};
- explicit BookmarkBarInstructionsGtk(Delegate* delegate, Profile* profile);
+ BookmarkBarInstructionsGtk(Delegate* delegate, Profile* profile);
// Get the native widget.
GtkWidget* widget() const { return instructions_hbox_; }
diff --git a/chrome/browser/ui/gtk/browser_titlebar.cc b/chrome/browser/ui/gtk/browser_titlebar.cc
index 77331de..61f7988 100644
--- a/chrome/browser/ui/gtk/browser_titlebar.cc
+++ b/chrome/browser/ui/gtk/browser_titlebar.cc
@@ -150,8 +150,7 @@ GdkColor PickLuminosityContrastingColor(const GdkColor* base,
// user clicks on the favicon) and all of its submenus.
class PopupPageMenuModel : public ui::SimpleMenuModel {
public:
- explicit PopupPageMenuModel(ui::SimpleMenuModel::Delegate* delegate,
- Browser* browser);
+ PopupPageMenuModel(ui::SimpleMenuModel::Delegate* delegate, Browser* browser);
virtual ~PopupPageMenuModel() { }
private:
diff --git a/chrome/browser/ui/gtk/browser_toolbar_gtk.h b/chrome/browser/ui/gtk/browser_toolbar_gtk.h
index 090ef6a..cd5d864 100644
--- a/chrome/browser/ui/gtk/browser_toolbar_gtk.h
+++ b/chrome/browser/ui/gtk/browser_toolbar_gtk.h
@@ -43,7 +43,7 @@ class BrowserToolbarGtk : public CommandUpdater::CommandObserver,
public MenuGtk::Delegate,
public NotificationObserver {
public:
- explicit BrowserToolbarGtk(Browser* browser, BrowserWindowGtk* window);
+ BrowserToolbarGtk(Browser* browser, BrowserWindowGtk* window);
virtual ~BrowserToolbarGtk();
// Create the contents of the toolbar. |top_level_window| is the GtkWindow
diff --git a/chrome/browser/ui/gtk/bubble/bubble_gtk.h b/chrome/browser/ui/gtk/bubble/bubble_gtk.h
index b11b45f..d5d5958 100644
--- a/chrome/browser/ui/gtk/bubble/bubble_gtk.h
+++ b/chrome/browser/ui/gtk/bubble/bubble_gtk.h
@@ -97,7 +97,7 @@ class BubbleGtk : public NotificationObserver {
FRAME_STROKE,
};
- explicit BubbleGtk(GtkThemeService* provider, bool match_system_theme);
+ BubbleGtk(GtkThemeService* provider, bool match_system_theme);
virtual ~BubbleGtk();
// Creates the Bubble.
diff --git a/chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h b/chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h
index 5a7a15a..f10dfaa 100644
--- a/chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h
+++ b/chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h
@@ -100,8 +100,8 @@ class CreateChromeApplicationShortcutsDialogGtk
// Displays the dialog box to create application shortcuts for |app|.
static void Show(GtkWindow* parent, const Extension* app);
- explicit CreateChromeApplicationShortcutsDialogGtk(GtkWindow* parent,
- const Extension* app);
+ CreateChromeApplicationShortcutsDialogGtk(GtkWindow* parent,
+ const Extension* app);
virtual ~CreateChromeApplicationShortcutsDialogGtk() {}
// Implement ImageLoadingTracker::Observer. |tracker_| is used to
diff --git a/chrome/browser/ui/gtk/custom_drag.h b/chrome/browser/ui/gtk/custom_drag.h
index 8ec9936..6703def 100644
--- a/chrome/browser/ui/gtk/custom_drag.h
+++ b/chrome/browser/ui/gtk/custom_drag.h
@@ -23,7 +23,7 @@ class Image;
// Base class for programatically generated drags.
class CustomDrag {
protected:
- explicit CustomDrag(gfx::Image* icon, int code_mask, GdkDragAction action);
+ CustomDrag(gfx::Image* icon, int code_mask, GdkDragAction action);
virtual ~CustomDrag();
virtual void OnDragDataGet(GtkWidget* widget, GdkDragContext* context,
diff --git a/chrome/browser/ui/gtk/download/download_shelf_gtk.h b/chrome/browser/ui/gtk/download/download_shelf_gtk.h
index fd777a9..8088cca 100644
--- a/chrome/browser/ui/gtk/download/download_shelf_gtk.h
+++ b/chrome/browser/ui/gtk/download/download_shelf_gtk.h
@@ -36,7 +36,7 @@ class DownloadShelfGtk : public DownloadShelf,
public SlideAnimatorGtk::Delegate,
public MessageLoopForUI::Observer {
public:
- explicit DownloadShelfGtk(Browser* browser, gfx::NativeView view);
+ DownloadShelfGtk(Browser* browser, gfx::NativeView view);
virtual ~DownloadShelfGtk();
diff --git a/chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.h b/chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.h
index d1591a9..c28997a 100644
--- a/chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.h
@@ -13,8 +13,8 @@ class TranslateInfoBarDelegate;
class AfterTranslateInfoBar : public TranslateInfoBarBase {
public:
- explicit AfterTranslateInfoBar(TabContentsWrapper* owner,
- TranslateInfoBarDelegate* delegate);
+ AfterTranslateInfoBar(TabContentsWrapper* owner,
+ TranslateInfoBarDelegate* delegate);
virtual ~AfterTranslateInfoBar();
// Overridden from TranslateInfoBarBase:
diff --git a/chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.h b/chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.h
index 3b693ec..f412c81 100644
--- a/chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.h
@@ -12,8 +12,8 @@ class TranslateInfoBarDelegate;
class BeforeTranslateInfoBar : public TranslateInfoBarBase {
public:
- explicit BeforeTranslateInfoBar(TabContentsWrapper* owner,
- TranslateInfoBarDelegate* delegate);
+ BeforeTranslateInfoBar(TabContentsWrapper* owner,
+ TranslateInfoBarDelegate* delegate);
virtual ~BeforeTranslateInfoBar();
// Overridden from TranslateInfoBarBase:
diff --git a/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.h b/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.h
index e37754f..35dc89c 100644
--- a/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.h
@@ -19,8 +19,8 @@ typedef struct _GtkWidget GtkWidget;
// "Would you like to do X? [Yes] [No] _Learn More_ [x]"
class ConfirmInfoBarGtk : public InfoBarGtk {
public:
- explicit ConfirmInfoBarGtk(TabContentsWrapper* owner,
- ConfirmInfoBarDelegate* delegate);
+ ConfirmInfoBarGtk(TabContentsWrapper* owner,
+ ConfirmInfoBarDelegate* delegate);
private:
virtual ~ConfirmInfoBarGtk();
diff --git a/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h b/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h
index 428f25f..80b3f9b 100644
--- a/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h
@@ -20,8 +20,8 @@ class ExtensionInfoBarGtk : public InfoBarGtk,
public ImageLoadingTracker::Observer,
public ExtensionViewGtk::Container {
public:
- explicit ExtensionInfoBarGtk(TabContentsWrapper* owner,
- ExtensionInfoBarDelegate* delegate);
+ ExtensionInfoBarGtk(TabContentsWrapper* owner,
+ ExtensionInfoBarDelegate* delegate);
virtual ~ExtensionInfoBarGtk();
// Overridden from ImageLoadingTracker::Observer:
diff --git a/chrome/browser/ui/gtk/infobars/infobar_container_gtk.h b/chrome/browser/ui/gtk/infobars/infobar_container_gtk.h
index 73e821c..2252493 100644
--- a/chrome/browser/ui/gtk/infobars/infobar_container_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/infobar_container_gtk.h
@@ -38,8 +38,7 @@ typedef struct _GtkWidget GtkWidget;
// we can't just overlap the widgets.
class InfoBarContainerGtk : public InfoBarContainer {
public:
- explicit InfoBarContainerGtk(InfoBarContainer::Delegate* delegate,
- Profile* profile);
+ InfoBarContainerGtk(InfoBarContainer::Delegate* delegate, Profile* profile);
virtual ~InfoBarContainerGtk();
// Get the native widget.
diff --git a/chrome/browser/ui/gtk/infobars/infobar_gtk.h b/chrome/browser/ui/gtk/infobars/infobar_gtk.h
index a757a3a..a84a962 100644
--- a/chrome/browser/ui/gtk/infobars/infobar_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/infobar_gtk.h
@@ -25,7 +25,7 @@ class InfoBarDelegate;
class InfoBarGtk : public InfoBar,
public NotificationObserver {
public:
- explicit InfoBarGtk(TabContentsWrapper* owner, InfoBarDelegate* delegate);
+ InfoBarGtk(TabContentsWrapper* owner, InfoBarDelegate* delegate);
virtual ~InfoBarGtk();
// Get the top level native GTK widget for this infobar.
diff --git a/chrome/browser/ui/gtk/infobars/link_infobar_gtk.h b/chrome/browser/ui/gtk/infobars/link_infobar_gtk.h
index 37de260..c6f5168 100644
--- a/chrome/browser/ui/gtk/infobars/link_infobar_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/link_infobar_gtk.h
@@ -15,8 +15,7 @@ class LinkInfoBarDelegate;
// An infobar that shows a string with an embedded link.
class LinkInfoBarGtk : public InfoBarGtk {
public:
- explicit LinkInfoBarGtk(TabContentsWrapper* owner,
- LinkInfoBarDelegate* delegate);
+ LinkInfoBarGtk(TabContentsWrapper* owner, LinkInfoBarDelegate* delegate);
private:
virtual ~LinkInfoBarGtk();
diff --git a/chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h b/chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h
index f55997c..bb09172 100644
--- a/chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h
@@ -17,8 +17,8 @@ class TranslateInfoBarDelegate;
// use.
class TranslateInfoBarBase : public InfoBarGtk {
public:
- explicit TranslateInfoBarBase(TabContentsWrapper* owner,
- TranslateInfoBarDelegate* delegate);
+ TranslateInfoBarBase(TabContentsWrapper* owner,
+ TranslateInfoBarDelegate* delegate);
virtual ~TranslateInfoBarBase();
// Initializes the infobar widgets. Should be called after the object has been
diff --git a/chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h b/chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h
index d05ba45..2635546 100644
--- a/chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h
@@ -12,8 +12,8 @@ class TranslateInfoBarDelegate;
class TranslateMessageInfoBar : public TranslateInfoBarBase {
public:
- explicit TranslateMessageInfoBar(TabContentsWrapper* owner,
- TranslateInfoBarDelegate* delegate);
+ TranslateMessageInfoBar(TabContentsWrapper* owner,
+ TranslateInfoBarDelegate* delegate);
virtual ~TranslateMessageInfoBar();
// Overridden from TranslateInfoBarBase:
diff --git a/chrome/browser/ui/gtk/sad_tab_gtk.h b/chrome/browser/ui/gtk/sad_tab_gtk.h
index 03ab37f..a3547e6 100644
--- a/chrome/browser/ui/gtk/sad_tab_gtk.h
+++ b/chrome/browser/ui/gtk/sad_tab_gtk.h
@@ -20,7 +20,7 @@ class SadTabGtk {
KILLED // The tab was killed. Display the killed tab page.
};
- explicit SadTabGtk(TabContents* tab_contents, Kind kind);
+ SadTabGtk(TabContents* tab_contents, Kind kind);
virtual ~SadTabGtk();
GtkWidget* widget() const { return event_box_.get(); }
diff --git a/chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc b/chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc
index 22185f2..142e4cb 100644
--- a/chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc
+++ b/chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc
@@ -263,7 +263,7 @@ class TabStripGtk::TabAnimation : public ui::AnimationDelegate {
// Handles insertion of a Tab at |index|.
class InsertTabAnimation : public TabStripGtk::TabAnimation {
public:
- explicit InsertTabAnimation(TabStripGtk* tabstrip, int index)
+ InsertTabAnimation(TabStripGtk* tabstrip, int index)
: TabAnimation(tabstrip, INSERT),
index_(index) {
int tab_count = tabstrip->GetTabCount();
@@ -526,7 +526,7 @@ class ResizeLayoutAnimation : public TabStripGtk::TabAnimation {
// in the model.
class MiniTabAnimation : public TabStripGtk::TabAnimation {
public:
- explicit MiniTabAnimation(TabStripGtk* tabstrip, int index)
+ MiniTabAnimation(TabStripGtk* tabstrip, int index)
: TabAnimation(tabstrip, MINI),
index_(index) {
int tab_count = tabstrip->GetTabCount();
@@ -586,10 +586,10 @@ class MiniTabAnimation : public TabStripGtk::TabAnimation {
// result.
class MiniMoveAnimation : public TabStripGtk::TabAnimation {
public:
- explicit MiniMoveAnimation(TabStripGtk* tabstrip,
- int from_index,
- int to_index,
- const gfx::Rect& start_bounds)
+ MiniMoveAnimation(TabStripGtk* tabstrip,
+ int from_index,
+ int to_index,
+ const gfx::Rect& start_bounds)
: TabAnimation(tabstrip, MINI_MOVE),
tab_(tabstrip->GetTabAt(to_index)),
start_bounds_(start_bounds),