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

Side by Side Diff: chrome/browser/external_tab/external_tab_container_win.h

Issue 10383239: Move NativeWebKeyboardEvent to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 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_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_
6 #define CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_ 6 #define CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual bool IsPopupOrPanel( 139 virtual bool IsPopupOrPanel(
140 const content::WebContents* source) const OVERRIDE; 140 const content::WebContents* source) const OVERRIDE;
141 virtual void UpdateTargetURL(content::WebContents* source, int32 page_id, 141 virtual void UpdateTargetURL(content::WebContents* source, int32 page_id,
142 const GURL& url) OVERRIDE; 142 const GURL& url) OVERRIDE;
143 virtual void ContentsZoomChange(bool zoom_in) OVERRIDE; 143 virtual void ContentsZoomChange(bool zoom_in) OVERRIDE;
144 virtual gfx::NativeWindow GetFrameNativeWindow() OVERRIDE; 144 virtual gfx::NativeWindow GetFrameNativeWindow() OVERRIDE;
145 virtual void WebContentsCreated(content::WebContents* source_contents, 145 virtual void WebContentsCreated(content::WebContents* source_contents,
146 int64 source_frame_id, 146 int64 source_frame_id,
147 const GURL& target_url, 147 const GURL& target_url,
148 content::WebContents* new_contents) OVERRIDE; 148 content::WebContents* new_contents) OVERRIDE;
149 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 149 virtual bool PreHandleKeyboardEvent(
150 bool* is_keyboard_shortcut) OVERRIDE; 150 const content::NativeWebKeyboardEvent& event,
151 bool* is_keyboard_shortcut) OVERRIDE;
151 virtual void HandleKeyboardEvent( 152 virtual void HandleKeyboardEvent(
152 const NativeWebKeyboardEvent& event) OVERRIDE; 153 const content::NativeWebKeyboardEvent& event) OVERRIDE;
153 virtual bool TakeFocus(bool reverse) OVERRIDE; 154 virtual bool TakeFocus(bool reverse) OVERRIDE;
154 virtual bool CanDownload(content::RenderViewHost* render_view_host, 155 virtual bool CanDownload(content::RenderViewHost* render_view_host,
155 int request_id, 156 int request_id,
156 const std::string& request_method) OVERRIDE; 157 const std::string& request_method) OVERRIDE;
157 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; 158 virtual bool OnGoToEntryOffset(int offset) OVERRIDE;
158 virtual bool HandleContextMenu( 159 virtual bool HandleContextMenu(
159 const content::ContextMenuParams& params) OVERRIDE; 160 const content::ContextMenuParams& params) OVERRIDE;
160 virtual bool ExecuteContextMenuCommand(int command) OVERRIDE; 161 virtual bool ExecuteContextMenuCommand(int command) OVERRIDE;
161 virtual void BeforeUnloadFired(content::WebContents* tab, 162 virtual void BeforeUnloadFired(content::WebContents* tab,
162 bool proceed, 163 bool proceed,
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 return false; 420 return false;
420 } 421 }
421 422
422 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, 423 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed,
423 bool* proceed_to_fire_unload) { 424 bool* proceed_to_fire_unload) {
424 NOTREACHED(); 425 NOTREACHED();
425 } 426 }
426 }; 427 };
427 428
428 #endif // CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_ 429 #endif // CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host_mac.mm ('k') | chrome/browser/external_tab/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698