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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « content/shell/browser/notify_done_forwarder.h ('k') | content/shell/browser/shell.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_SHELL_H_ 4 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_
5 #define CONTENT_SHELL_BROWSER_SHELL_H_ 5 #define CONTENT_SHELL_BROWSER_SHELL_H_
6 6
7 #include <stdint.h>
7 8
8 #include <vector> 9 #include <vector>
9 10
10 #include "base/basictypes.h"
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "content/public/browser/web_contents_delegate.h" 15 #include "content/public/browser/web_contents_delegate.h"
16 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
17 #include "ipc/ipc_channel.h" 17 #include "ipc/ipc_channel.h"
18 #include "ui/gfx/geometry/size.h" 18 #include "ui/gfx/geometry/size.h"
19 #include "ui/gfx/native_widget_types.h" 19 #include "ui/gfx/native_widget_types.h"
20 20
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 WebContents* source) override; 135 WebContents* source) override;
136 scoped_ptr<BluetoothChooser> RunBluetoothChooser( 136 scoped_ptr<BluetoothChooser> RunBluetoothChooser(
137 WebContents* web_contents, 137 WebContents* web_contents,
138 const BluetoothChooser::EventHandler& event_handler, 138 const BluetoothChooser::EventHandler& event_handler,
139 const GURL& origin) override; 139 const GURL& origin) override;
140 #if defined(OS_MACOSX) 140 #if defined(OS_MACOSX)
141 void HandleKeyboardEvent(WebContents* source, 141 void HandleKeyboardEvent(WebContents* source,
142 const NativeWebKeyboardEvent& event) override; 142 const NativeWebKeyboardEvent& event) override;
143 #endif 143 #endif
144 bool AddMessageToConsole(WebContents* source, 144 bool AddMessageToConsole(WebContents* source,
145 int32 level, 145 int32_t level,
146 const base::string16& message, 146 const base::string16& message,
147 int32 line_no, 147 int32_t line_no,
148 const base::string16& source_id) override; 148 const base::string16& source_id) override;
149 void RendererUnresponsive(WebContents* source) override; 149 void RendererUnresponsive(WebContents* source) override;
150 void ActivateContents(WebContents* contents) override; 150 void ActivateContents(WebContents* contents) override;
151 bool HandleContextMenu(const content::ContextMenuParams& params) override; 151 bool HandleContextMenu(const content::ContextMenuParams& params) override;
152 152
153 static gfx::Size GetShellDefaultSize(); 153 static gfx::Size GetShellDefaultSize();
154 154
155 private: 155 private:
156 enum UIControl { 156 enum UIControl {
157 BACK_BUTTON, 157 BACK_BUTTON,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 static base::Callback<void(Shell*)> shell_created_callback_; 253 static base::Callback<void(Shell*)> shell_created_callback_;
254 254
255 // True if the destructur of Shell should post a quit closure on the current 255 // True if the destructur of Shell should post a quit closure on the current
256 // message loop if the destructed Shell object was the last one. 256 // message loop if the destructed Shell object was the last one.
257 static bool quit_message_loop_; 257 static bool quit_message_loop_;
258 }; 258 };
259 259
260 } // namespace content 260 } // namespace content
261 261
262 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ 262 #endif // CONTENT_SHELL_BROWSER_SHELL_H_
OLDNEW
« no previous file with comments | « content/shell/browser/notify_done_forwarder.h ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698