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

Side by Side Diff: content/browser/web_contents/interstitial_page_impl.h

Issue 10915304: We do not pass enums by conts references. This CL fixes style errors introduced (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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_INTERSTITIAL_PAGE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; 107 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE;
108 virtual void ShowCreatedWindow(int route_id, 108 virtual void ShowCreatedWindow(int route_id,
109 WindowOpenDisposition disposition, 109 WindowOpenDisposition disposition,
110 const gfx::Rect& initial_pos, 110 const gfx::Rect& initial_pos,
111 bool user_gesture) OVERRIDE; 111 bool user_gesture) OVERRIDE;
112 virtual void ShowCreatedWidget(int route_id, 112 virtual void ShowCreatedWidget(int route_id,
113 const gfx::Rect& initial_pos) OVERRIDE; 113 const gfx::Rect& initial_pos) OVERRIDE;
114 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; 114 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE;
115 virtual void ShowContextMenu( 115 virtual void ShowContextMenu(
116 const content::ContextMenuParams& params, 116 const content::ContextMenuParams& params,
117 const content::ContextMenuSourceType& type) OVERRIDE; 117 content::ContextMenuSourceType type) OVERRIDE;
118 118
119 // RenderWidgetHostDelegate implementation: 119 // RenderWidgetHostDelegate implementation:
120 virtual bool PreHandleKeyboardEvent( 120 virtual bool PreHandleKeyboardEvent(
121 const content::NativeWebKeyboardEvent& event, 121 const content::NativeWebKeyboardEvent& event,
122 bool* is_keyboard_shortcut) OVERRIDE; 122 bool* is_keyboard_shortcut) OVERRIDE;
123 virtual void HandleKeyboardEvent( 123 virtual void HandleKeyboardEvent(
124 const content::NativeWebKeyboardEvent& event) OVERRIDE; 124 const content::NativeWebKeyboardEvent& event) OVERRIDE;
125 125
126 bool enabled() const { return enabled_; } 126 bool enabled() const { return enabled_; }
127 content::WebContents* web_contents() const; 127 content::WebContents* web_contents() const;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 mutable content::RendererPreferences renderer_preferences_; 209 mutable content::RendererPreferences renderer_preferences_;
210 210
211 bool create_view_; 211 bool create_view_;
212 212
213 scoped_ptr<content::InterstitialPageDelegate> delegate_; 213 scoped_ptr<content::InterstitialPageDelegate> delegate_;
214 214
215 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 215 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
216 }; 216 };
217 217
218 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ 218 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_unittest.cc ('k') | content/browser/web_contents/interstitial_page_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698