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

Side by Side Diff: chrome/browser/views/tabs/base_tab.h

Issue 2878055: Make theme change notifications auto-propagate through the view hierarchy, in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « chrome/browser/views/find_bar_view.cc ('k') | chrome/browser/views/tabs/base_tab.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_VIEWS_TABS_BASE_TAB_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_BASE_TAB_H_
6 #define CHROME_BROWSER_VIEWS_TABS_BASE_TAB_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_BASE_TAB_H_
7 7
8 #include "app/animation.h" 8 #include "app/animation.h"
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // views::ButtonListener overrides: 121 // views::ButtonListener overrides:
122 virtual void ButtonPressed(views::Button* sender, 122 virtual void ButtonPressed(views::Button* sender,
123 const views::Event& event); 123 const views::Event& event);
124 124
125 // views::ContextMenuController overrides: 125 // views::ContextMenuController overrides:
126 virtual void ShowContextMenu(views::View* source, 126 virtual void ShowContextMenu(views::View* source,
127 const gfx::Point& p, 127 const gfx::Point& p,
128 bool is_mouse_gesture); 128 bool is_mouse_gesture);
129 129
130 // views::View overrides: 130 // views::View overrides:
131 virtual void ThemeChanged(); 131 virtual void OnThemeChanged();
132 132
133 // Returns the bounds of the title. 133 // Returns the bounds of the title.
134 virtual const gfx::Rect& title_bounds() const = 0; 134 virtual const gfx::Rect& title_bounds() const = 0;
135 135
136 // Close button size. 136 // Close button size.
137 static int close_button_height() { return close_button_height_; } 137 static int close_button_height() { return close_button_height_; }
138 static int close_button_width() { return close_button_width_; } 138 static int close_button_width() { return close_button_width_; }
139 139
140 // Size (width/height) of the loading animation. 140 // Size (width/height) of the loading animation.
141 static int loading_animation_size() { return loading_animation_size_; } 141 static int loading_animation_size() { return loading_animation_size_; }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // Size of the loading animation frames. 214 // Size of the loading animation frames.
215 static int loading_animation_size_; 215 static int loading_animation_size_;
216 216
217 static gfx::Font* font_; 217 static gfx::Font* font_;
218 static int font_height_; 218 static int font_height_;
219 219
220 DISALLOW_COPY_AND_ASSIGN(BaseTab); 220 DISALLOW_COPY_AND_ASSIGN(BaseTab);
221 }; 221 };
222 222
223 #endif // CHROME_BROWSER_VIEWS_TABS_BASE_TAB_H_ 223 #endif // CHROME_BROWSER_VIEWS_TABS_BASE_TAB_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/find_bar_view.cc ('k') | chrome/browser/views/tabs/base_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698