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

Side by Side Diff: content/shell/shell.h

Issue 14389010: Gtk content shell: map key F5 to reload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | content/shell/shell_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_SHELL_SHELL_H_ 4 #ifndef CONTENT_SHELL_SHELL_H_
5 #define CONTENT_SHELL_SHELL_H_ 5 #define CONTENT_SHELL_SHELL_H_
6 6
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 CHROMEGTK_CALLBACK_0(Shell, void, OnStopButtonClicked); 201 CHROMEGTK_CALLBACK_0(Shell, void, OnStopButtonClicked);
202 CHROMEGTK_CALLBACK_0(Shell, void, OnURLEntryActivate); 202 CHROMEGTK_CALLBACK_0(Shell, void, OnURLEntryActivate);
203 CHROMEGTK_CALLBACK_0(Shell, gboolean, OnWindowDestroyed); 203 CHROMEGTK_CALLBACK_0(Shell, gboolean, OnWindowDestroyed);
204 204
205 CHROMEG_CALLBACK_3(Shell, gboolean, OnCloseWindowKeyPressed, GtkAccelGroup*, 205 CHROMEG_CALLBACK_3(Shell, gboolean, OnCloseWindowKeyPressed, GtkAccelGroup*,
206 GObject*, guint, GdkModifierType); 206 GObject*, guint, GdkModifierType);
207 CHROMEG_CALLBACK_3(Shell, gboolean, OnNewWindowKeyPressed, GtkAccelGroup*, 207 CHROMEG_CALLBACK_3(Shell, gboolean, OnNewWindowKeyPressed, GtkAccelGroup*,
208 GObject*, guint, GdkModifierType); 208 GObject*, guint, GdkModifierType);
209 CHROMEG_CALLBACK_3(Shell, gboolean, OnHighlightURLView, GtkAccelGroup*, 209 CHROMEG_CALLBACK_3(Shell, gboolean, OnHighlightURLView, GtkAccelGroup*,
210 GObject*, guint, GdkModifierType); 210 GObject*, guint, GdkModifierType);
211 CHROMEG_CALLBACK_3(Shell, gboolean, OnReloadKeyPressed, GtkAccelGroup*,
212 GObject*, guint, GdkModifierType);
211 #endif 213 #endif
212 214
213 scoped_ptr<ShellJavaScriptDialogManager> dialog_manager_; 215 scoped_ptr<ShellJavaScriptDialogManager> dialog_manager_;
214 216
215 scoped_ptr<WebContents> web_contents_; 217 scoped_ptr<WebContents> web_contents_;
216 218
217 ShellDevToolsFrontend* devtools_frontend_; 219 ShellDevToolsFrontend* devtools_frontend_;
218 220
219 bool is_fullscreen_; 221 bool is_fullscreen_;
220 222
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 static base::Callback<void(Shell*)> shell_created_callback_; 262 static base::Callback<void(Shell*)> shell_created_callback_;
261 263
262 // True if the destructur of Shell should post a quit closure on the current 264 // True if the destructur of Shell should post a quit closure on the current
263 // message loop if the destructed Shell object was the last one. 265 // message loop if the destructed Shell object was the last one.
264 static bool quit_message_loop_; 266 static bool quit_message_loop_;
265 }; 267 };
266 268
267 } // namespace content 269 } // namespace content
268 270
269 #endif // CONTENT_SHELL_SHELL_H_ 271 #endif // CONTENT_SHELL_SHELL_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/shell_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698