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

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

Issue 10824295: Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollE… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CONTENT_SETTING_IMAGE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 LocationBarView* parent); 44 LocationBarView* parent);
45 virtual ~ContentSettingImageView(); 45 virtual ~ContentSettingImageView();
46 46
47 // |new_navigation| true if this is a new navigation, false if the tab was 47 // |new_navigation| true if this is a new navigation, false if the tab was
48 // just switched to. 48 // just switched to.
49 virtual void Update(TabContents* tab_contents); 49 virtual void Update(TabContents* tab_contents);
50 50
51 // views::View overrides: 51 // views::View overrides:
52 virtual gfx::Size GetPreferredSize() OVERRIDE; 52 virtual gfx::Size GetPreferredSize() OVERRIDE;
53 virtual ui::GestureStatus OnGestureEvent( 53 virtual ui::GestureStatus OnGestureEvent(
54 const views::GestureEvent& event) OVERRIDE; 54 const ui::GestureEvent& event) OVERRIDE;
55 55
56 // ui::AnimationDelegate overrides: 56 // ui::AnimationDelegate overrides:
57 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; 57 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
58 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 58 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
59 virtual void AnimationCanceled(const ui::Animation* animation) OVERRIDE; 59 virtual void AnimationCanceled(const ui::Animation* animation) OVERRIDE;
60 60
61 // views::WidgetObserver override: 61 // views::WidgetObserver override:
62 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; 62 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE;
63 63
64 // TouchableLocationBarView. 64 // TouchableLocationBarView.
(...skipping 26 matching lines...) Expand all
91 string16 animated_text_; 91 string16 animated_text_;
92 bool pause_animation_; 92 bool pause_animation_;
93 int text_size_; 93 int text_size_;
94 int visible_text_size_; 94 int visible_text_size_;
95 gfx::Insets saved_insets_; 95 gfx::Insets saved_insets_;
96 96
97 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingImageView); 97 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingImageView);
98 }; 98 };
99 99
100 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_ 100 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/location_bar/content_setting_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698