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

Side by Side Diff: chrome/browser/tab_contents/web_contents_view_gtk.cc

Issue 27169: Linux: add splash screen (Closed)
Patch Set: ... Created 11 years, 9 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/browser/tab_contents/web_contents_view_gtk.h" 5 #include "chrome/browser/tab_contents/web_contents_view_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/gfx/point.h" 9 #include "base/gfx/point.h"
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
(...skipping 11 matching lines...) Expand all
22 } // namespace 22 } // namespace
23 23
24 // static 24 // static
25 WebContentsView* WebContentsView::Create(WebContents* web_contents) { 25 WebContentsView* WebContentsView::Create(WebContents* web_contents) {
26 return new WebContentsViewGtk(web_contents); 26 return new WebContentsViewGtk(web_contents);
27 } 27 }
28 28
29 WebContentsViewGtk::WebContentsViewGtk(WebContents* web_contents) 29 WebContentsViewGtk::WebContentsViewGtk(WebContents* web_contents)
30 : web_contents_(web_contents), 30 : web_contents_(web_contents),
31 vbox_(gtk_vbox_new(FALSE, 0)) { 31 vbox_(gtk_vbox_new(FALSE, 0)) {
32 g_object_ref_sink(vbox_);
32 } 33 }
33 34
34 WebContentsViewGtk::~WebContentsViewGtk() { 35 WebContentsViewGtk::~WebContentsViewGtk() {
35 gtk_widget_destroy(vbox_); 36 gtk_widget_destroy(vbox_);
36 } 37 }
37 38
38 WebContents* WebContentsViewGtk::GetWebContents() { 39 WebContents* WebContentsViewGtk::GetWebContents() {
39 return web_contents_; 40 return web_contents_;
40 } 41 }
41 42
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 bool user_gesture) { 161 bool user_gesture) {
161 NOTIMPLEMENTED(); 162 NOTIMPLEMENTED();
162 } 163 }
163 164
164 void WebContentsViewGtk::ShowCreatedWidgetInternal( 165 void WebContentsViewGtk::ShowCreatedWidgetInternal(
165 RenderWidgetHostView* widget_host_view, 166 RenderWidgetHostView* widget_host_view,
166 const gfx::Rect& initial_pos) { 167 const gfx::Rect& initial_pos) {
167 NOTIMPLEMENTED(); 168 NOTIMPLEMENTED();
168 } 169 }
169 170
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_factory.cc ('k') | chrome/common/temp_scaffolding_stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698