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

Side by Side Diff: chrome/browser/views/extensions/extension_shelf.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, 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) 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_EXTENSIONS_EXTENSION_SHELF_H_ 5 #ifndef CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_
6 #define CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_ 6 #define CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_
7 7
8 #include "app/slide_animation.h" 8 #include "app/slide_animation.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "chrome/browser/extensions/extension_shelf_model.h" 10 #include "chrome/browser/extensions/extension_shelf_model.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 return size_animation_->GetCurrentValue(); 44 return size_animation_->GetCurrentValue();
45 } 45 }
46 46
47 // View methods: 47 // View methods:
48 virtual void PaintChildren(gfx::Canvas* canvas); 48 virtual void PaintChildren(gfx::Canvas* canvas);
49 virtual gfx::Size GetPreferredSize(); 49 virtual gfx::Size GetPreferredSize();
50 virtual void Layout(); 50 virtual void Layout();
51 virtual void OnMouseExited(const views::MouseEvent& event); 51 virtual void OnMouseExited(const views::MouseEvent& event);
52 virtual void OnMouseEntered(const views::MouseEvent& event); 52 virtual void OnMouseEntered(const views::MouseEvent& event);
53 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); 53 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
54 virtual void ThemeChanged(); 54 virtual void OnThemeChanged();
55 55
56 // ExtensionContainer methods: 56 // ExtensionContainer methods:
57 virtual void OnExtensionMouseEvent(ExtensionView* view); 57 virtual void OnExtensionMouseEvent(ExtensionView* view);
58 virtual void OnExtensionMouseLeave(ExtensionView* view); 58 virtual void OnExtensionMouseLeave(ExtensionView* view);
59 59
60 // ExtensionShelfModelObserver methods: 60 // ExtensionShelfModelObserver methods:
61 virtual void ToolstripInsertedAt(ExtensionHost* toolstrip, int index); 61 virtual void ToolstripInsertedAt(ExtensionHost* toolstrip, int index);
62 virtual void ToolstripRemovingAt(ExtensionHost* toolstrip, int index); 62 virtual void ToolstripRemovingAt(ExtensionHost* toolstrip, int index);
63 virtual void ToolstripDraggingFrom(ExtensionHost* toolstrip, int index); 63 virtual void ToolstripDraggingFrom(ExtensionHost* toolstrip, int index);
64 virtual void ToolstripMoved(ExtensionHost* toolstrip, 64 virtual void ToolstripMoved(ExtensionHost* toolstrip,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // Animation controlling showing and hiding of the shelf. 145 // Animation controlling showing and hiding of the shelf.
146 scoped_ptr<SlideAnimation> size_animation_; 146 scoped_ptr<SlideAnimation> size_animation_;
147 147
148 // Are we in fullscreen mode or not. 148 // Are we in fullscreen mode or not.
149 bool fullscreen_; 149 bool fullscreen_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(ExtensionShelf); 151 DISALLOW_COPY_AND_ASSIGN(ExtensionShelf);
152 }; 152 };
153 153
154 #endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_ 154 #endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/download_shelf_view.cc ('k') | chrome/browser/views/extensions/extension_shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698