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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_view.h

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (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_EXTENSIONS_EXTENSION_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_VIEW_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include "third_party/skia/include/core/SkBitmap.h" 10 #include "third_party/skia/include/core/SkBitmap.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // connection. 51 // connection.
52 void RenderViewCreated(); 52 void RenderViewCreated();
53 53
54 // Set a custom background for the view. The background will be tiled. 54 // Set a custom background for the view. The background will be tiled.
55 void SetBackground(const SkBitmap& background); 55 void SetBackground(const SkBitmap& background);
56 56
57 // Sets the container for this view. 57 // Sets the container for this view.
58 void SetContainer(Container* container) { container_ = container; } 58 void SetContainer(Container* container) { container_ = container; }
59 59
60 // Overridden from views::NativeViewHost: 60 // Overridden from views::NativeViewHost:
61 virtual gfx::NativeCursor GetCursor(const views::MouseEvent& event) OVERRIDE; 61 virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE;
62 virtual void SetVisible(bool is_visible) OVERRIDE; 62 virtual void SetVisible(bool is_visible) OVERRIDE;
63 virtual void ViewHierarchyChanged( 63 virtual void ViewHierarchyChanged(
64 bool is_add, views::View *parent, views::View *child) OVERRIDE; 64 bool is_add, views::View *parent, views::View *child) OVERRIDE;
65 65
66 protected: 66 protected:
67 // Overridden from views::View. 67 // Overridden from views::View.
68 virtual void PreferredSizeChanged() OVERRIDE; 68 virtual void PreferredSizeChanged() OVERRIDE;
69 virtual bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& e) OVERRIDE; 69 virtual bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& e) OVERRIDE;
70 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; 70 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE;
71 71
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // Note: the view does not own its container. 104 // Note: the view does not own its container.
105 Container* container_; 105 Container* container_;
106 106
107 // Whether this extension view is clipped. 107 // Whether this extension view is clipped.
108 bool is_clipped_; 108 bool is_clipped_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(ExtensionView); 110 DISALLOW_COPY_AND_ASSIGN(ExtensionView);
111 }; 111 };
112 112
113 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_VIEW_H_ 113 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698