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

Side by Side Diff: chrome/browser/ui/views/external_tab_container_win.h

Issue 13037003: permissionrequest API for guest Download. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync @tott Created 7 years, 8 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_EXTERNAL_TAB_CONTAINER_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 const GURL& target_url, 119 const GURL& target_url,
120 content::WebContents* new_contents) OVERRIDE; 120 content::WebContents* new_contents) OVERRIDE;
121 virtual bool PreHandleKeyboardEvent( 121 virtual bool PreHandleKeyboardEvent(
122 content::WebContents* source, 122 content::WebContents* source,
123 const content::NativeWebKeyboardEvent& event, 123 const content::NativeWebKeyboardEvent& event,
124 bool* is_keyboard_shortcut) OVERRIDE; 124 bool* is_keyboard_shortcut) OVERRIDE;
125 virtual void HandleKeyboardEvent( 125 virtual void HandleKeyboardEvent(
126 content::WebContents* source, 126 content::WebContents* source,
127 const content::NativeWebKeyboardEvent& event) OVERRIDE; 127 const content::NativeWebKeyboardEvent& event) OVERRIDE;
128 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; 128 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE;
129 virtual bool CanDownload(content::RenderViewHost* render_view_host, 129 virtual void CanDownload(content::RenderViewHost* render_view_host,
130 int request_id, 130 int request_id,
131 const std::string& request_method) OVERRIDE; 131 const std::string& request_method,
132 const base::Callback<void(bool)>& callback) OVERRIDE;
132 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; 133 virtual bool OnGoToEntryOffset(int offset) OVERRIDE;
133 virtual bool HandleContextMenu( 134 virtual bool HandleContextMenu(
134 const content::ContextMenuParams& params) OVERRIDE; 135 const content::ContextMenuParams& params) OVERRIDE;
135 virtual void BeforeUnloadFired(content::WebContents* tab, 136 virtual void BeforeUnloadFired(content::WebContents* tab,
136 bool proceed, 137 bool proceed,
137 bool* proceed_to_fire_unload) OVERRIDE; 138 bool* proceed_to_fire_unload) OVERRIDE;
138 virtual content::JavaScriptDialogManager* 139 virtual content::JavaScriptDialogManager*
139 GetJavaScriptDialogManager() OVERRIDE; 140 GetJavaScriptDialogManager() OVERRIDE;
140 virtual void ShowRepostFormWarningDialog( 141 virtual void ShowRepostFormWarningDialog(
141 content::WebContents* source) OVERRIDE; 142 content::WebContents* source) OVERRIDE;
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 return false; 387 return false;
387 } 388 }
388 389
389 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, 390 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed,
390 bool* proceed_to_fire_unload) { 391 bool* proceed_to_fire_unload) {
391 NOTREACHED(); 392 NOTREACHED();
392 } 393 }
393 }; 394 };
394 395
395 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 396 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/instant_loader.cc ('k') | chrome/browser/ui/views/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698