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

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

Issue 415001: Merge 32335... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 11 years, 1 month 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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_VIEW_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Overridden from views::NativeViewHost: 59 // Overridden from views::NativeViewHost:
60 virtual void SetVisible(bool is_visible); 60 virtual void SetVisible(bool is_visible);
61 virtual void DidChangeBounds(const gfx::Rect& previous, 61 virtual void DidChangeBounds(const gfx::Rect& previous,
62 const gfx::Rect& current); 62 const gfx::Rect& current);
63 virtual void ViewHierarchyChanged(bool is_add, 63 virtual void ViewHierarchyChanged(bool is_add,
64 views::View *parent, views::View *child); 64 views::View *parent, views::View *child);
65 65
66 protected: 66 protected:
67 // Overridden from views::View. 67 // Overridden from views::View.
68 virtual void PreferredSizeChanged(); 68 virtual void PreferredSizeChanged();
69 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e);
69 70
70 private: 71 private:
71 friend class ExtensionHost; 72 friend class ExtensionHost;
72 73
73 // Initializes the RenderWidgetHostView for this object. 74 // Initializes the RenderWidgetHostView for this object.
74 void CreateWidgetHostView(); 75 void CreateWidgetHostView();
75 76
76 // We wait to show the ExtensionView until several things have loaded. 77 // We wait to show the ExtensionView until several things have loaded.
77 void ShowIfCompletelyLoaded(); 78 void ShowIfCompletelyLoaded();
78 79
(...skipping 23 matching lines...) Expand all
102 // Note: the view does not own its container. 103 // Note: the view does not own its container.
103 Container* container_; 104 Container* container_;
104 105
105 // Whether this extension view is clipped. 106 // Whether this extension view is clipped.
106 bool is_clipped_; 107 bool is_clipped_;
107 108
108 DISALLOW_COPY_AND_ASSIGN(ExtensionView); 109 DISALLOW_COPY_AND_ASSIGN(ExtensionView);
109 }; 110 };
110 111
111 #endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_VIEW_H_ 112 #endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/browser_bubble_win.cc ('k') | chrome/browser/views/extensions/extension_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698