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

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

Issue 1039006: Revert r41803 and r41799 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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_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/perftimer.h" 10 #include "base/perftimer.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual void CreateNewWindow(int route_id); 139 virtual void CreateNewWindow(int route_id);
140 virtual void CreateNewWidget(int route_id, bool activatable); 140 virtual void CreateNewWidget(int route_id, bool activatable);
141 virtual void ShowCreatedWindow(int route_id, 141 virtual void ShowCreatedWindow(int route_id,
142 WindowOpenDisposition disposition, 142 WindowOpenDisposition disposition,
143 const gfx::Rect& initial_pos, 143 const gfx::Rect& initial_pos,
144 bool user_gesture); 144 bool user_gesture);
145 virtual void ShowCreatedWidget(int route_id, 145 virtual void ShowCreatedWidget(int route_id,
146 const gfx::Rect& initial_pos); 146 const gfx::Rect& initial_pos);
147 virtual void ShowContextMenu(const ContextMenuParams& params); 147 virtual void ShowContextMenu(const ContextMenuParams& params);
148 virtual void StartDragging(const WebDropData& drop_data, 148 virtual void StartDragging(const WebDropData& drop_data,
149 WebKit::WebDragOperationsMask allowed_operations, 149 WebKit::WebDragOperationsMask allowed_operations);
150 const SkBitmap& image,
151 const gfx::Point& image_offset);
152 virtual void UpdateDragCursor(WebKit::WebDragOperation operation); 150 virtual void UpdateDragCursor(WebKit::WebDragOperation operation);
153 virtual void GotFocus(); 151 virtual void GotFocus();
154 virtual void TakeFocus(bool reverse); 152 virtual void TakeFocus(bool reverse);
155 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 153 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
156 bool* is_keyboard_shortcut); 154 bool* is_keyboard_shortcut);
157 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 155 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
158 virtual void HandleMouseEvent(); 156 virtual void HandleMouseEvent();
159 virtual void HandleMouseLeave(); 157 virtual void HandleMouseLeave();
160 virtual void UpdatePreferredSize(const gfx::Size& new_size); 158 virtual void UpdatePreferredSize(const gfx::Size& new_size);
161 159
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // are used here, others are not hosted by ExtensionHost. 254 // are used here, others are not hosted by ExtensionHost.
257 ViewType::Type extension_host_type_; 255 ViewType::Type extension_host_type_;
258 256
259 // Used to measure how long it's been since the host was created. 257 // Used to measure how long it's been since the host was created.
260 PerfTimer since_created_; 258 PerfTimer since_created_;
261 259
262 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 260 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
263 }; 261 };
264 262
265 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 263 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/notifications/balloon_view_host_mac.h ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698