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

Side by Side Diff: chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 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
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/sessions/session_restore.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 4
5 #import "chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegat e.h" 5 #import "chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegat e.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
10 #include "chrome/browser/debugger/devtools_window.h" 10 #include "chrome/browser/debugger/devtools_window.h"
11 #include "chrome/browser/spellchecker/spellcheck_platform_mac.h" 11 #include "chrome/browser/spellchecker/spellcheck_platform_mac.h"
12 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_list.h" 13 #include "chrome/browser/ui/browser_list.h"
14 #import "chrome/browser/ui/cocoa/history_overlay_controller.h" 14 #import "chrome/browser/ui/cocoa/history_overlay_controller.h"
15 #import "chrome/browser/ui/cocoa/view_id_util.h" 15 #import "chrome/browser/ui/cocoa/view_id_util.h"
16 #include "chrome/common/spellcheck_messages.h" 16 #include "chrome/common/spellcheck_messages.h"
17 #include "chrome/common/url_constants.h" 17 #include "chrome/common/url_constants.h"
18 #include "content/browser/mac/closure_blocks_leopard_compat.h" 18 #include "content/browser/mac/closure_blocks_leopard_compat.h"
19 #include "content/browser/renderer_host/render_view_host.h" 19 #include "content/browser/renderer_host/render_view_host.h"
20 #include "content/browser/renderer_host/render_widget_host.h" 20 #include "content/browser/renderer_host/render_widget_host.h"
21 #include "content/browser/renderer_host/render_widget_host_view.h"
22 #include "content/public/browser/render_view_host_observer.h" 21 #include "content/public/browser/render_view_host_observer.h"
22 #include "content/public/browser/render_widget_host_view.h"
23 #include "content/public/browser/web_contents.h" 23 #include "content/public/browser/web_contents.h"
24 24
25 // Declare things that are part of the 10.7 SDK. 25 // Declare things that are part of the 10.7 SDK.
26 #if !defined(MAC_OS_X_VERSION_10_7) || \ 26 #if !defined(MAC_OS_X_VERSION_10_7) || \
27 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 27 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
28 enum { 28 enum {
29 NSEventPhaseNone = 0, // event not associated with a phase. 29 NSEventPhaseNone = 0, // event not associated with a phase.
30 NSEventPhaseBegan = 0x1 << 0, 30 NSEventPhaseBegan = 0x1 << 0,
31 NSEventPhaseStationary = 0x1 << 1, 31 NSEventPhaseStationary = 0x1 << 1,
32 NSEventPhaseChanged = 0x1 << 2, 32 NSEventPhaseChanged = 0x1 << 2,
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 } 359 }
360 360
361 - (void)spellCheckEnabled:(BOOL)enabled checked:(BOOL)checked { 361 - (void)spellCheckEnabled:(BOOL)enabled checked:(BOOL)checked {
362 spellcheckEnabled_ = enabled; 362 spellcheckEnabled_ = enabled;
363 spellcheckChecked_ = checked; 363 spellcheckChecked_ = checked;
364 } 364 }
365 365
366 // END Spellchecking methods 366 // END Spellchecking methods
367 367
368 @end 368 @end
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698