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

Side by Side Diff: content/browser/web_contents/web_contents_impl.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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 const content::FileChooserParams& params) OVERRIDE; 347 const content::FileChooserParams& params) OVERRIDE;
348 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; 348 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE;
349 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; 349 virtual bool IsFullscreenForCurrentTab() const OVERRIDE;
350 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; 350 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE;
351 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE; 351 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE;
352 virtual void RequestToLockMouse(bool user_gesture) OVERRIDE; 352 virtual void RequestToLockMouse(bool user_gesture) OVERRIDE;
353 virtual void LostMouseLock() OVERRIDE; 353 virtual void LostMouseLock() OVERRIDE;
354 354
355 // RenderWidgetHostDelegate -------------------------------------------------- 355 // RenderWidgetHostDelegate --------------------------------------------------
356 356
357 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 357 virtual bool PreHandleKeyboardEvent(
358 bool* is_keyboard_shortcut) OVERRIDE; 358 const content::NativeWebKeyboardEvent& event,
359 bool* is_keyboard_shortcut) OVERRIDE;
359 virtual void HandleKeyboardEvent( 360 virtual void HandleKeyboardEvent(
360 const NativeWebKeyboardEvent& event) OVERRIDE; 361 const content::NativeWebKeyboardEvent& event) OVERRIDE;
361 362
362 // RenderViewHostManager::Delegate ------------------------------------------- 363 // RenderViewHostManager::Delegate -------------------------------------------
363 364
364 virtual bool CreateRenderViewForRenderManager( 365 virtual bool CreateRenderViewForRenderManager(
365 content::RenderViewHost* render_view_host, int opener_route_id) OVERRIDE; 366 content::RenderViewHost* render_view_host, int opener_route_id) OVERRIDE;
366 virtual void BeforeUnloadFiredFromRenderManager( 367 virtual void BeforeUnloadFiredFromRenderManager(
367 bool proceed, 368 bool proceed,
368 bool* proceed_to_fire_unload) OVERRIDE; 369 bool* proceed_to_fire_unload) OVERRIDE;
369 virtual void DidStartLoadingFromRenderManager( 370 virtual void DidStartLoadingFromRenderManager(
370 content::RenderViewHost* render_view_host) OVERRIDE; 371 content::RenderViewHost* render_view_host) OVERRIDE;
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 // Type of view this WebContents is displaying. 715 // Type of view this WebContents is displaying.
715 content::ViewType view_type_; 716 content::ViewType view_type_;
716 717
717 // Color chooser that was opened by this tab. 718 // Color chooser that was opened by this tab.
718 content::ColorChooser* color_chooser_; 719 content::ColorChooser* color_chooser_;
719 720
720 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 721 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
721 }; 722 };
722 723
723 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 724 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/interstitial_page_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698