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

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

Issue 137403005: Remove some code inside USE_AURA and OS_WIN ifdefs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 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 | Annotate | Revision Log
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 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_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/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual FrameTree* GetFrameTree() OVERRIDE; 147 virtual FrameTree* GetFrameTree() OVERRIDE;
148 148
149 // RenderWidgetHostDelegate implementation: 149 // RenderWidgetHostDelegate implementation:
150 virtual void RenderWidgetDeleted( 150 virtual void RenderWidgetDeleted(
151 RenderWidgetHostImpl* render_widget_host) OVERRIDE; 151 RenderWidgetHostImpl* render_widget_host) OVERRIDE;
152 virtual bool PreHandleKeyboardEvent( 152 virtual bool PreHandleKeyboardEvent(
153 const NativeWebKeyboardEvent& event, 153 const NativeWebKeyboardEvent& event,
154 bool* is_keyboard_shortcut) OVERRIDE; 154 bool* is_keyboard_shortcut) OVERRIDE;
155 virtual void HandleKeyboardEvent( 155 virtual void HandleKeyboardEvent(
156 const NativeWebKeyboardEvent& event) OVERRIDE; 156 const NativeWebKeyboardEvent& event) OVERRIDE;
157 #if defined(OS_WIN) && defined(USE_AURA) 157 #if defined(OS_WIN)
158 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; 158 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE;
159 #endif 159 #endif
160 160
161 bool enabled() const { return enabled_; } 161 bool enabled() const { return enabled_; }
162 WebContents* web_contents() const; 162 WebContents* web_contents() const;
163 const GURL& url() const { return url_; } 163 const GURL& url() const { return url_; }
164 164
165 // Creates the RenderViewHost containing the interstitial content. 165 // Creates the RenderViewHost containing the interstitial content.
166 // Overriden in unit tests. 166 // Overriden in unit tests.
167 virtual RenderViewHost* CreateRenderViewHost(); 167 virtual RenderViewHost* CreateRenderViewHost();
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 270 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
271 271
272 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 272 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
273 273
274 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 274 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
275 }; 275 };
276 276
277 } // namespace content 277 } // namespace content
278 278
279 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 279 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698