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

Side by Side Diff: chrome/browser/extensions/extension_host.h

Issue 122002: Moving the WM_SETFOCUS message processing out of FocusManager (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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) 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_EXTENSIONS_EXTENSION_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual void ShowCreatedWindow(int route_id, 76 virtual void ShowCreatedWindow(int route_id,
77 WindowOpenDisposition disposition, 77 WindowOpenDisposition disposition,
78 const gfx::Rect& initial_pos, 78 const gfx::Rect& initial_pos,
79 bool user_gesture, 79 bool user_gesture,
80 const GURL& creator_url); 80 const GURL& creator_url);
81 virtual void ShowCreatedWidget(int route_id, 81 virtual void ShowCreatedWidget(int route_id,
82 const gfx::Rect& initial_pos); 82 const gfx::Rect& initial_pos);
83 virtual void ShowContextMenu(const ContextMenuParams& params); 83 virtual void ShowContextMenu(const ContextMenuParams& params);
84 virtual void StartDragging(const WebDropData& drop_data); 84 virtual void StartDragging(const WebDropData& drop_data);
85 virtual void UpdateDragCursor(bool is_drop_target); 85 virtual void UpdateDragCursor(bool is_drop_target);
86 virtual void GotFocus();
86 virtual void TakeFocus(bool reverse); 87 virtual void TakeFocus(bool reverse);
87 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 88 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
88 virtual void HandleMouseEvent(); 89 virtual void HandleMouseEvent();
89 virtual void HandleMouseLeave(); 90 virtual void HandleMouseLeave();
90 virtual void UpdatePreferredWidth(int pref_width); 91 virtual void UpdatePreferredWidth(int pref_width);
91 92
92 private: 93 private:
93 // ExtensionFunctionDispatcher::Delegate 94 // ExtensionFunctionDispatcher::Delegate
94 // If this ExtensionHost has a view, this returns the Browser that view is a 95 // If this ExtensionHost has a view, this returns the Browser that view is a
95 // part of. If this is a global background page, we use the active Browser 96 // part of. If this is a global background page, we use the active Browser
(...skipping 20 matching lines...) Expand all
116 // Whether the RenderWidget has reported that it has stopped loading. 117 // Whether the RenderWidget has reported that it has stopped loading.
117 bool did_stop_loading_; 118 bool did_stop_loading_;
118 119
119 // The URL being hosted. 120 // The URL being hosted.
120 GURL url_; 121 GURL url_;
121 122
122 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 123 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
123 }; 124 };
124 125
125 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 126 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698